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

View File

@ -30,6 +30,6 @@ class Config(context: Context) : BaseConfig(context) {
set(showSearchBar) = prefs.edit().putBoolean(SHOW_SEARCH_BAR, showSearchBar).apply()
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()
}