Exit activity directly when back-pressed
This commit is contained in:
1 parent
c128a2b518
commit
e327b4e84b
1 file changed
+1
-2
@@ -639,8 +639,7 @@ class ReaderActivity : EhActivity() {
|
||||
} else {
|
||||
if (readerPreferences.fullscreen().get()) {
|
||||
windowInsetsController.hide(WindowInsetsCompat.Type.systemBars())
|
||||
windowInsetsController.systemBarsBehavior =
|
||||
WindowInsetsControllerCompat.BEHAVIOR_SHOW_TRANSIENT_BARS_BY_SWIPE
|
||||
windowInsetsController.systemBarsBehavior = WindowInsetsControllerCompat.BEHAVIOR_SHOW_BARS_BY_TOUCH
|
||||
}
|
||||
|
||||
if (animate) {
|
||||
|
||||
Reference in new issue
Block a user