阅读界面导航栏不再透明

pull/1352/head
gedoor 3 years ago
parent 6431e82327
commit 64af83f15d
  1. 4
      app/src/main/java/io/legado/app/ui/book/read/ReadBookBaseActivity.kt

@ -127,11 +127,9 @@ abstract class ReadBookBaseActivity :
flag = flag or View.SYSTEM_UI_FLAG_HIDE_NAVIGATION flag = flag or View.SYSTEM_UI_FLAG_HIDE_NAVIGATION
} }
} }
if (toolBarHide) { if (ReadBookConfig.hideStatusBar && toolBarHide) {
if (ReadBookConfig.hideStatusBar) {
flag = flag or View.SYSTEM_UI_FLAG_FULLSCREEN flag = flag or View.SYSTEM_UI_FLAG_FULLSCREEN
} }
}
window.decorView.systemUiVisibility = flag window.decorView.systemUiVisibility = flag
} }

Loading…
Cancel
Save