From 446c254bc801b3f2b8f9ac19d9c2a49afe730da1 Mon Sep 17 00:00:00 2001 From: arkon Date: Sun, 15 Mar 2020 11:56:55 -0400 Subject: [PATCH] Use immersive sticky flag when hiding reader UI (closes #2705) --- .../main/java/eu/kanade/tachiyomi/util/view/WindowExtensions.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/util/view/WindowExtensions.kt b/app/src/main/java/eu/kanade/tachiyomi/util/view/WindowExtensions.kt index 50fc25107..8a0fe9d4a 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/util/view/WindowExtensions.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/util/view/WindowExtensions.kt @@ -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 }