From f0c43c1a663cb90cc45e7cacf1b85322fac5f37c Mon Sep 17 00:00:00 2001 From: gedoor Date: Sun, 13 Dec 2020 19:22:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/java/io/legado/app/help/AppConfig.kt | 4 ++-- app/src/main/res/xml/pref_config_theme.xml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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" />