Skip to content
This repository has been archived by the owner on Oct 3, 2022. It is now read-only.

Commit

Permalink
Attempt to hide display cutout
Browse files Browse the repository at this point in the history
  • Loading branch information
Doomsdayrs committed Jun 2, 2022
1 parent 70fc071 commit 52924c1
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -329,9 +329,12 @@ class ChapterReader
}) {
if (!it) {
insetsController.hide(Type.systemBars())
insetsController.hide(Type.displayCutout())
insetsController.systemBarsBehavior = BEHAVIOR_SHOW_TRANSIENT_BARS_BY_SWIPE
} else
} else {
insetsController.show(Type.systemBars())
insetsController.show(Type.displayCutout())
}
}

viewModel.liveIsScreenRotationLocked.collectLA(this, catch = {}) {
Expand Down

0 comments on commit 52924c1

Please sign in to comment.