Hide cutout toggle button if fullscreen is off (#6150)
This commit is contained in:
@@ -111,6 +111,7 @@ class SettingsReaderController : SettingsController() {
|
||||
key = Keys.cutoutShort
|
||||
titleRes = R.string.pref_cutout_short
|
||||
defaultValue = true
|
||||
preferences.fullscreen().asImmediateFlow { isVisible = it }.launchIn(viewScope)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user