Fix empty navigation drawer

pull/935/head
Alex Baker 5 years ago
parent 3344f69012
commit 8cc4e633c0

@ -194,6 +194,18 @@ public class NavigationDrawerFragment extends InjectingFragment {
super.onPause();
localBroadcastManager.unregisterReceiver(refreshReceiver);
}
@Override
public void onStart() {
super.onStart();
disposables = new CompositeDisposable();
}
@Override
public void onStop() {
super.onStop();
disposables.dispose();
}
@ -230,9 +242,8 @@ public class NavigationDrawerFragment extends InjectingFragment {
@Override
public void onResume() {
super.onResume();
disposables = new CompositeDisposable();
localBroadcastManager.registerRefreshListReceiver(refreshReceiver);
disposables.add(updateFilters());
}

Loading…
Cancel
Save