mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-05 01:15:14 +01:00
Hide invert volume keys setting when volume keys isn't enabled
This commit is contained in:
parent
93960315d9
commit
339169b624
@ -228,7 +228,9 @@ class SettingsReaderController : SettingsController() {
|
||||
key = Keys.readWithVolumeKeysInverted
|
||||
titleRes = R.string.pref_read_with_volume_keys_inverted
|
||||
defaultValue = false
|
||||
}.apply { dependency = Keys.readWithVolumeKeys }
|
||||
|
||||
preferences.readWithVolumeKeys().asImmediateFlow { isVisible = it }.launchIn(scope)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user