mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-21 20:47:03 -05: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
1 changed files with 1 additions and 1 deletions
|
@ -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(),
|
||||
|
|
Loading…
Reference in a new issue