Fix certain settings summaries

This commit is contained in:
Jays2Kings 2021-03-27 19:07:29 -04:00
parent 38e304d138
commit ebb33025f1
2 changed files with 0 additions and 6 deletions

View File

@ -186,7 +186,6 @@ class SettingsGeneralController : SettingsController() {
?: context.getString(R.string.system_default)
}
defaultValue = ""
summary = "%s"
onChange { newValue ->
val activity = activity ?: return@onChange false
@ -210,7 +209,6 @@ class SettingsGeneralController : SettingsController() {
}
}
defaultValue = ""
summary = "%s"
}
}
}

View File

@ -132,7 +132,6 @@ class SettingsReaderController : SettingsController() {
entryRange = 0..values.size
}.toList()
defaultValue = "0"
summary = "%s"
preferences.readWithTapping().asImmediateFlow { isVisible = it }.launchIn(viewScope)
}
@ -152,7 +151,6 @@ class SettingsReaderController : SettingsController() {
ViewerNavigation.TappingInvertMode.BOTH.name
)
defaultValue = ViewerNavigation.TappingInvertMode.NONE.name
summary = "%s"
preferences.readWithTapping().asImmediateFlow { isVisible = it }.launchIn(viewScope)
}
@ -199,7 +197,6 @@ class SettingsReaderController : SettingsController() {
entryRange = 0..values.size
}.toList()
defaultValue = "0"
summary = "%s"
preferences.readWithTapping().asImmediateFlow { isVisible = it }.launchIn(viewScope)
}
@ -219,7 +216,6 @@ class SettingsReaderController : SettingsController() {
ViewerNavigation.TappingInvertMode.BOTH.name
)
defaultValue = ViewerNavigation.TappingInvertMode.NONE.name
summary = "%s"
preferences.readWithTapping().asImmediateFlow { isVisible = it }.launchIn(viewScope)
}