Fix whitespace

This commit is contained in:
Anderson Mesquita 2019-05-25 13:16:07 -04:00
parent 1580e93b94
commit 56dc16802a
1 changed files with 3 additions and 3 deletions

View File

@ -134,11 +134,11 @@ public class CompletedDownloadsFragment extends ListFragment {
@Override
public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {
if(!isAdded()) {
if (!isAdded()) {
return;
}
super.onCreateOptionsMenu(menu, inflater);
if(items != null) {
if (items != null) {
inflater.inflate(R.menu.downloads_completed, menu);
menu.findItem(R.id.episode_actions).setVisible(items.size() > 0);
}
@ -202,7 +202,7 @@ public class CompletedDownloadsFragment extends ListFragment {
if (viewCreated && getActivity() != null) {
onFragmentLoaded();
}
}, error -> Log.e(TAG, Log.getStackTraceString(error)));
}, error -> Log.e(TAG, Log.getStackTraceString(error)));
}
}