Commit ea527b52 authored by Varun Patil's avatar Varun Patil

Fix code style

parent 21e1da00
...@@ -124,6 +124,8 @@ public abstract class CardAdapter<T extends CardInterface> extends RecyclerView. ...@@ -124,6 +124,8 @@ public abstract class CardAdapter<T extends CardInterface> extends RecyclerView.
case 4: case 4:
((BodyHeadCard) tList.get(i)).bindView((BodyHeadViewHolder) holder, mFragment); ((BodyHeadCard) tList.get(i)).bindView((BodyHeadViewHolder) holder, mFragment);
return; return;
default:
return;
} }
} }
......
...@@ -181,7 +181,7 @@ public class BodyFragment extends BackHandledFragment implements TransitionTarge ...@@ -181,7 +181,7 @@ public class BodyFragment extends BackHandledFragment implements TransitionTarge
private void displayBody() { private void displayBody() {
/* Skip if we're already destroyed */ /* Skip if we're already destroyed */
if (getActivity() == null || getView() == null) return; if (getActivity() == null || getView() == null) return;
if (!(body == min_body)) bodyDisplayed = true; if (body != min_body) bodyDisplayed = true;
bodyPicture = (ImageView) getActivity().findViewById(R.id.body_picture); bodyPicture = (ImageView) getActivity().findViewById(R.id.body_picture);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment