changing a default value

This commit is contained in:
Tibor Kaputa 2023-07-27 16:56:11 +02:00 committed by GitHub
parent 792ded4323
commit c8db594896
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,6 +30,6 @@ class Config(context: Context) : BaseConfig(context) {
set(showSearchBar) = prefs.edit().putBoolean(SHOW_SEARCH_BAR, showSearchBar).apply() set(showSearchBar) = prefs.edit().putBoolean(SHOW_SEARCH_BAR, showSearchBar).apply()
var closeAppDrawer: Boolean var closeAppDrawer: Boolean
get() = prefs.getBoolean(CLOSE_APP_DRAWER, true) get() = prefs.getBoolean(CLOSE_APP_DRAWER, false)
set(closeAppDrawer) = prefs.edit().putBoolean(CLOSE_APP_DRAWER, closeAppDrawer).apply() set(closeAppDrawer) = prefs.edit().putBoolean(CLOSE_APP_DRAWER, closeAppDrawer).apply()
} }