Hide invert volume keys setting when volume keys isn't enabled
(cherry picked from commit 339169b624f5f380e808aeac7a034e324fbe8a7f)
This commit is contained in:
parent
43034db5e5
commit
c543622268
@ -320,7 +320,9 @@ class SettingsReaderController : SettingsController() {
|
|||||||
key = Keys.readWithVolumeKeysInverted
|
key = Keys.readWithVolumeKeysInverted
|
||||||
titleRes = R.string.pref_read_with_volume_keys_inverted
|
titleRes = R.string.pref_read_with_volume_keys_inverted
|
||||||
defaultValue = false
|
defaultValue = false
|
||||||
}.apply { dependency = Keys.readWithVolumeKeys }
|
|
||||||
|
preferences.readWithVolumeKeys().asImmediateFlow { isVisible = it }.launchIn(scope)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user