Commit 71eed71e authored by Sajal Narang's avatar Sajal Narang

Update body on launching BodyFragment, fix #208

parent 7c0222ac
...@@ -133,10 +133,7 @@ public class BodyFragment extends BackHandledFragment { ...@@ -133,10 +133,7 @@ public class BodyFragment extends BackHandledFragment {
body = min_body; body = min_body;
displayBody(); displayBody();
/* Check if full body was passed */ updateBody();
if (min_body.getBodyDescription() == null) {
updateBody();
}
bodySwipeRefreshLayout = getActivity().findViewById(R.id.body_swipe_refresh_layout); bodySwipeRefreshLayout = getActivity().findViewById(R.id.body_swipe_refresh_layout);
bodySwipeRefreshLayout.setOnRefreshListener(new SwipeRefreshLayout.OnRefreshListener() { bodySwipeRefreshLayout.setOnRefreshListener(new SwipeRefreshLayout.OnRefreshListener() {
......
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