mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
Fix certain settings summaries
This commit is contained in:
parent
38e304d138
commit
ebb33025f1
2 changed files with 0 additions and 6 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue