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 @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)));
} }
} }