add setting to hide top toolbar

This commit is contained in:
Konrad Pozniak 2020-08-16 10:01:51 +02:00
commit dd3d372b80
5 changed files with 31 additions and 6 deletions

View file

@ -85,6 +85,12 @@ class PreferencesFragment : PreferenceFragmentCompat() {
setTitle(R.string.pref_main_nav_position)
}
switchPreference {
setDefaultValue(false)
key = PrefKeys.HIDE_TOP_TOOLBAR
setTitle(R.string.pref_title_hide_top_toolbar)
}
switchPreference {
setDefaultValue(false)
key = PrefKeys.FAB_HIDE