mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-09 05:45:06 +01:00
Auto hiding invert double page setting in reader settings
This commit is contained in:
parent
2be38ab151
commit
d36c6f501e
@ -242,12 +242,13 @@ class SettingsReaderController : SettingsController() {
|
||||
defaultValue = 2
|
||||
}
|
||||
infoPreference(R.string.automatic_can_still_switch).apply {
|
||||
preferences.pageLayout().asImmediateFlow { isVisible = it == PageLayout.AUTOMATIC }.launchIn(viewScope)
|
||||
preferences.pageLayout().asImmediateFlow(viewScope) { isVisible = it == PageLayout.AUTOMATIC }
|
||||
}
|
||||
switchPreference {
|
||||
key = Keys.invertDoublePages
|
||||
titleRes = R.string.invert_double_pages
|
||||
defaultValue = false
|
||||
preferences.pageLayout().asImmediateFlow(viewScope) { isVisible = it != PageLayout.SINGLE_PAGE }
|
||||
}
|
||||
}
|
||||
preferenceCategory {
|
||||
|
Loading…
Reference in New Issue
Block a user