diff --git a/app/src/main/java/io/legado/app/help/AppConfig.kt b/app/src/main/java/io/legado/app/help/AppConfig.kt index 2a8a5cd94..2efcd482c 100644 --- a/app/src/main/java/io/legado/app/help/AppConfig.kt +++ b/app/src/main/java/io/legado/app/help/AppConfig.kt @@ -74,10 +74,10 @@ object AppConfig : SharedPreferences.OnSharedPreferenceChangeListener { } val isTransparentStatusBar: Boolean - get() = context.getPrefBoolean(PreferKey.transparentStatusBar) + get() = context.getPrefBoolean(PreferKey.transparentStatusBar, true) val immNavigationBar: Boolean - get() = context.getPrefBoolean(PreferKey.immNavigationBar) + get() = context.getPrefBoolean(PreferKey.immNavigationBar, true) val screenDirection: String? get() = context.getPrefString(PreferKey.screenDirection) diff --git a/app/src/main/res/xml/pref_config_theme.xml b/app/src/main/res/xml/pref_config_theme.xml index 383e29ba3..081c49b37 100644 --- a/app/src/main/res/xml/pref_config_theme.xml +++ b/app/src/main/res/xml/pref_config_theme.xml @@ -20,7 +20,7 @@ app:iconSpaceReserved="false" />