mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-24 03:41:54 +01:00
Fix certain settings summaries
This commit is contained in:
parent
38e304d138
commit
ebb33025f1
@ -186,7 +186,6 @@ class SettingsGeneralController : SettingsController() {
|
|||||||
?: context.getString(R.string.system_default)
|
?: context.getString(R.string.system_default)
|
||||||
}
|
}
|
||||||
defaultValue = ""
|
defaultValue = ""
|
||||||
summary = "%s"
|
|
||||||
|
|
||||||
onChange { newValue ->
|
onChange { newValue ->
|
||||||
val activity = activity ?: return@onChange false
|
val activity = activity ?: return@onChange false
|
||||||
@ -210,7 +209,6 @@ class SettingsGeneralController : SettingsController() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
defaultValue = ""
|
defaultValue = ""
|
||||||
summary = "%s"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -132,7 +132,6 @@ class SettingsReaderController : SettingsController() {
|
|||||||
entryRange = 0..values.size
|
entryRange = 0..values.size
|
||||||
}.toList()
|
}.toList()
|
||||||
defaultValue = "0"
|
defaultValue = "0"
|
||||||
summary = "%s"
|
|
||||||
|
|
||||||
preferences.readWithTapping().asImmediateFlow { isVisible = it }.launchIn(viewScope)
|
preferences.readWithTapping().asImmediateFlow { isVisible = it }.launchIn(viewScope)
|
||||||
}
|
}
|
||||||
@ -152,7 +151,6 @@ class SettingsReaderController : SettingsController() {
|
|||||||
ViewerNavigation.TappingInvertMode.BOTH.name
|
ViewerNavigation.TappingInvertMode.BOTH.name
|
||||||
)
|
)
|
||||||
defaultValue = ViewerNavigation.TappingInvertMode.NONE.name
|
defaultValue = ViewerNavigation.TappingInvertMode.NONE.name
|
||||||
summary = "%s"
|
|
||||||
|
|
||||||
preferences.readWithTapping().asImmediateFlow { isVisible = it }.launchIn(viewScope)
|
preferences.readWithTapping().asImmediateFlow { isVisible = it }.launchIn(viewScope)
|
||||||
}
|
}
|
||||||
@ -199,7 +197,6 @@ class SettingsReaderController : SettingsController() {
|
|||||||
entryRange = 0..values.size
|
entryRange = 0..values.size
|
||||||
}.toList()
|
}.toList()
|
||||||
defaultValue = "0"
|
defaultValue = "0"
|
||||||
summary = "%s"
|
|
||||||
|
|
||||||
preferences.readWithTapping().asImmediateFlow { isVisible = it }.launchIn(viewScope)
|
preferences.readWithTapping().asImmediateFlow { isVisible = it }.launchIn(viewScope)
|
||||||
}
|
}
|
||||||
@ -219,7 +216,6 @@ class SettingsReaderController : SettingsController() {
|
|||||||
ViewerNavigation.TappingInvertMode.BOTH.name
|
ViewerNavigation.TappingInvertMode.BOTH.name
|
||||||
)
|
)
|
||||||
defaultValue = ViewerNavigation.TappingInvertMode.NONE.name
|
defaultValue = ViewerNavigation.TappingInvertMode.NONE.name
|
||||||
summary = "%s"
|
|
||||||
|
|
||||||
preferences.readWithTapping().asImmediateFlow { isVisible = it }.launchIn(viewScope)
|
preferences.readWithTapping().asImmediateFlow { isVisible = it }.launchIn(viewScope)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user