Auto hide tool bar for non Play Store versions

pull/212/head
M66B 2 years ago
parent ab0d5d9b14
commit 1d6c1c6398

@ -155,7 +155,7 @@ public class FragmentFolders extends FragmentBase {
compact = prefs.getBoolean("compact_folders", true); compact = prefs.getBoolean("compact_folders", true);
show_hidden = false; // prefs.getBoolean("hidden_folders", false); show_hidden = false; // prefs.getBoolean("hidden_folders", false);
show_flagged = prefs.getBoolean("flagged_folders", false); show_flagged = prefs.getBoolean("flagged_folders", false);
hide_toolbar = prefs.getBoolean("hide_toolbar", false); hide_toolbar = prefs.getBoolean("hide_toolbar", !BuildConfig.PLAY_STORE_RELEASE);
if (BuildConfig.DEBUG) { if (BuildConfig.DEBUG) {
ViewModelSelected selectedModel = ViewModelSelected selectedModel =

@ -486,7 +486,7 @@ public class FragmentMessages extends FragmentBase
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getContext()); SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getContext());
hide_toolbar = prefs.getBoolean("hide_toolbar", false); hide_toolbar = prefs.getBoolean("hide_toolbar", !BuildConfig.PLAY_STORE_RELEASE);
cards = prefs.getBoolean("cards", true); cards = prefs.getBoolean("cards", true);
dividers = prefs.getBoolean("dividers", true); dividers = prefs.getBoolean("dividers", true);
category = prefs.getBoolean("group_category", false); category = prefs.getBoolean("group_category", false);

@ -1427,7 +1427,7 @@ public class FragmentOptionsDisplay extends FragmentBase implements SharedPrefer
tvColumnWidth.setText(getString(R.string.title_advanced_column_width, NF.format(column_width))); tvColumnWidth.setText(getString(R.string.title_advanced_column_width, NF.format(column_width)));
sbColumnWidth.setProgress(column_width); sbColumnWidth.setProgress(column_width);
swHideToolbar.setChecked(prefs.getBoolean("hide_toolbar", false)); swHideToolbar.setChecked(prefs.getBoolean("hide_toolbar", !BuildConfig.PLAY_STORE_RELEASE));
swNavOptions.setChecked(prefs.getBoolean("nav_options", true)); swNavOptions.setChecked(prefs.getBoolean("nav_options", true));
swNavCategories.setChecked(prefs.getBoolean("nav_categories", false)); swNavCategories.setChecked(prefs.getBoolean("nav_categories", false));
swNavLastSync.setChecked(prefs.getBoolean("nav_last_sync", true)); swNavLastSync.setChecked(prefs.getBoolean("nav_last_sync", true));

Loading…
Cancel
Save