Use immersive sticky flag when hiding reader UI (closes #2705)

This commit is contained in:
arkon 2020-03-15 11:56:55 -04:00
parent e41edc1fb7
commit 446c254bc8

View File

@ -15,7 +15,7 @@ fun Window.hideBar() {
View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION or
View.SYSTEM_UI_FLAG_FULLSCREEN or
View.SYSTEM_UI_FLAG_HIDE_NAVIGATION or
View.SYSTEM_UI_FLAG_IMMERSIVE
View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY
decorView.systemUiVisibility = uiFlags
}