Hide display cutout setting if fullscreen is off (#241)
- make it behave like the one on more -> setting -> reader Co-authored-by: Riztard <16263232+Riztard@users.noreply.github.com> (cherry picked from commit 9cc0c4e0359cf06ef6257fc289f05a6f4fb9cf6e)
This commit is contained in:
parent
91b7f0c1d0
commit
9b8e81a063
@ -63,7 +63,7 @@ internal fun ColumnScope.GeneralPage(screenModel: ReaderSettingsScreenModel) {
|
|||||||
pref = screenModel.preferences.fullscreen(),
|
pref = screenModel.preferences.fullscreen(),
|
||||||
)
|
)
|
||||||
|
|
||||||
if (screenModel.hasDisplayCutout) {
|
if (screenModel.hasDisplayCutout && screenModel.preferences.fullscreen().get()) {
|
||||||
CheckboxItem(
|
CheckboxItem(
|
||||||
label = stringResource(MR.strings.pref_cutout_short),
|
label = stringResource(MR.strings.pref_cutout_short),
|
||||||
pref = screenModel.preferences.cutoutShort(),
|
pref = screenModel.preferences.cutoutShort(),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user