From 97718d2718773ac0a02ca14e3b0d9c964fd8cc53 Mon Sep 17 00:00:00 2001 From: kunfei Date: Sat, 24 Aug 2019 08:10:35 +0800 Subject: [PATCH] up --- .../main/java/io/legado/app/ui/readbook/ReadBookActivity.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/io/legado/app/ui/readbook/ReadBookActivity.kt b/app/src/main/java/io/legado/app/ui/readbook/ReadBookActivity.kt index a0582c6ea..941b6ec3f 100644 --- a/app/src/main/java/io/legado/app/ui/readbook/ReadBookActivity.kt +++ b/app/src/main/java/io/legado/app/ui/readbook/ReadBookActivity.kt @@ -287,7 +287,8 @@ class ReadBookActivity : VMBaseActivity(R.layout.activity_rea private fun upBar() { var flag = View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN if (getPrefBoolean("hideNavigationBar")) { - flag = flag or View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION + flag = + flag or View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION or View.SYSTEM_UI_FLAG_IMMERSIVE } if (!read_menu.isVisible) { if (getPrefBoolean("hideStatusBar")) {