From e9071d42967bd8a9c759cb63e53d043cd81ed657 Mon Sep 17 00:00:00 2001 From: gedoor Date: Wed, 4 Nov 2020 08:36:57 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=82=E9=85=8DSDK30?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/java/io/legado/app/lib/theme/ATH.kt | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/io/legado/app/lib/theme/ATH.kt b/app/src/main/java/io/legado/app/lib/theme/ATH.kt index c4ef5c29c..cb8962c62 100644 --- a/app/src/main/java/io/legado/app/lib/theme/ATH.kt +++ b/app/src/main/java/io/legado/app/lib/theme/ATH.kt @@ -78,7 +78,10 @@ object ATH { WindowInsetsController.APPEARANCE_LIGHT_STATUS_BARS ) } else { - it.setSystemBarsAppearance(0, 0) + it.setSystemBarsAppearance( + 0, + WindowInsetsController.APPEARANCE_LIGHT_STATUS_BARS + ) } } } else { @@ -120,7 +123,10 @@ object ATH { WindowInsetsController.APPEARANCE_LIGHT_NAVIGATION_BARS ) } else { - it.setSystemBarsAppearance(0, 0) + it.setSystemBarsAppearance( + 0, + WindowInsetsController.APPEARANCE_LIGHT_NAVIGATION_BARS + ) } } } else {