mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-13 22:12:49 +01:00
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>
This commit is contained in:
parent
222e111806
commit
9cc0c4e035
@ -42,7 +42,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…
Reference in New Issue
Block a user