From 64af83f15d67a868e90e92012d88630b91f0639f Mon Sep 17 00:00:00 2001 From: gedoor Date: Wed, 29 Sep 2021 11:16:05 +0800 Subject: [PATCH] =?UTF-8?q?=E9=98=85=E8=AF=BB=E7=95=8C=E9=9D=A2=E5=AF=BC?= =?UTF-8?q?=E8=88=AA=E6=A0=8F=E4=B8=8D=E5=86=8D=E9=80=8F=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/io/legado/app/ui/book/read/ReadBookBaseActivity.kt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/app/src/main/java/io/legado/app/ui/book/read/ReadBookBaseActivity.kt b/app/src/main/java/io/legado/app/ui/book/read/ReadBookBaseActivity.kt index 82e5e4cfd..49cc8149d 100644 --- a/app/src/main/java/io/legado/app/ui/book/read/ReadBookBaseActivity.kt +++ b/app/src/main/java/io/legado/app/ui/book/read/ReadBookBaseActivity.kt @@ -127,10 +127,8 @@ abstract class ReadBookBaseActivity : flag = flag or View.SYSTEM_UI_FLAG_HIDE_NAVIGATION } } - if (toolBarHide) { - if (ReadBookConfig.hideStatusBar) { - flag = flag or View.SYSTEM_UI_FLAG_FULLSCREEN - } + if (ReadBookConfig.hideStatusBar && toolBarHide) { + flag = flag or View.SYSTEM_UI_FLAG_FULLSCREEN } window.decorView.systemUiVisibility = flag }