mirror of
https://github.com/antebudimir/tempus.git
synced 2025-12-31 17:43:32 +00:00
style: hide music player in settings fragment
This commit is contained in:
parent
abd488b34a
commit
16b95bacc5
1 changed files with 7 additions and 0 deletions
|
|
@ -62,6 +62,7 @@ public class SettingsFragment extends PreferenceFragmentCompat {
|
|||
public void onStart() {
|
||||
super.onStart();
|
||||
activity.setBottomNavigationBarVisibility(false);
|
||||
activity.setBottomSheetVisibility(false);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
@ -106,6 +107,12 @@ public class SettingsFragment extends PreferenceFragmentCompat {
|
|||
});
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onStop() {
|
||||
super.onStop();
|
||||
activity.setBottomSheetVisibility(true);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onCreatePreferences(Bundle savedInstanceState, String rootKey) {
|
||||
setPreferencesFromResource(R.xml.global_preferences, rootKey);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue