Skip to content

Commit

Permalink
Hide display cutout setting if fullscreen is off (mihonapp#241)
Browse files Browse the repository at this point in the history
- make it behave like the one on more -> setting -> reader

Co-authored-by: Riztard <[email protected]>
(cherry picked from commit 9cc0c4e)
  • Loading branch information
Soitora authored and jobobby04 committed Feb 17, 2024
1 parent 91b7f0c commit 9b8e81a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ internal fun ColumnScope.GeneralPage(screenModel: ReaderSettingsScreenModel) {
pref = screenModel.preferences.fullscreen(),
)

if (screenModel.hasDisplayCutout) {
if (screenModel.hasDisplayCutout && screenModel.preferences.fullscreen().get()) {
CheckboxItem(
label = stringResource(MR.strings.pref_cutout_short),
pref = screenModel.preferences.cutoutShort(),
Expand Down

0 comments on commit 9b8e81a

Please sign in to comment.