Hide display cutout setting if fullscreen is off

- make it behave like the one on more -> setting -> reader
This commit is contained in:
Riztard 2024-01-26 17:43:30 +07:00 committed by Soitora
parent de75561402
commit 89b1b2b611

View File

@ -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(),