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 <16263232+Riztard@users.noreply.github.com>
  • Loading branch information
Soitora and Riztard authored Jan 28, 2024
1 parent 222e111 commit 9cc0c4e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,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 9cc0c4e

Please sign in to comment.