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