Fix whitespace
This commit is contained in:
parent
1580e93b94
commit
56dc16802a
|
@ -134,11 +134,11 @@ public class CompletedDownloadsFragment extends ListFragment {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {
|
public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {
|
||||||
if(!isAdded()) {
|
if (!isAdded()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
super.onCreateOptionsMenu(menu, inflater);
|
super.onCreateOptionsMenu(menu, inflater);
|
||||||
if(items != null) {
|
if (items != null) {
|
||||||
inflater.inflate(R.menu.downloads_completed, menu);
|
inflater.inflate(R.menu.downloads_completed, menu);
|
||||||
menu.findItem(R.id.episode_actions).setVisible(items.size() > 0);
|
menu.findItem(R.id.episode_actions).setVisible(items.size() > 0);
|
||||||
}
|
}
|
||||||
|
@ -202,7 +202,7 @@ public class CompletedDownloadsFragment extends ListFragment {
|
||||||
if (viewCreated && getActivity() != null) {
|
if (viewCreated && getActivity() != null) {
|
||||||
onFragmentLoaded();
|
onFragmentLoaded();
|
||||||
}
|
}
|
||||||
}, error -> Log.e(TAG, Log.getStackTraceString(error)));
|
}, error -> Log.e(TAG, Log.getStackTraceString(error)));
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue