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 {