From ebb33025f12c3301cb2be1a2bfd91d5af1aba50e Mon Sep 17 00:00:00 2001 From: Jays2Kings Date: Sat, 27 Mar 2021 19:07:29 -0400 Subject: [PATCH] Fix certain settings summaries --- .../kanade/tachiyomi/ui/setting/SettingsGeneralController.kt | 2 -- .../kanade/tachiyomi/ui/setting/SettingsReaderController.kt | 4 ---- 2 files changed, 6 deletions(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsGeneralController.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsGeneralController.kt index 84fe9abcd6..5526b310d6 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsGeneralController.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsGeneralController.kt @@ -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" } } } diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsReaderController.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsReaderController.kt index be15187258..8dd5d6b1f6 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsReaderController.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsReaderController.kt @@ -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) }