mirror of
https://git.mihon.tech/mihonapp/mihon
synced 2024-11-27 09:44:55 +03:00
Use immersive sticky flag when hiding reader UI (closes #2705)
This commit is contained in:
parent
e41edc1fb7
commit
446c254bc8
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue