Fixed options menus appearing on screens that they shouldn't

This commit is contained in:
Viktor De Pasquale
2019-04-18 16:00:54 +02:00
parent 7e5e14163c
commit f76015d714
3 changed files with 3 additions and 7 deletions
@@ -43,6 +43,7 @@ public class SettingsFragment extends BasePreferenceFragment {
@Override
public void onStart() {
super.onStart();
setHasOptionsMenu(true);
requireActivity().setTitle(R.string.settings);
}