From b77edb2b5b1e2c2f21cfbbc97f8cadbf307e7cc8 Mon Sep 17 00:00:00 2001 From: arkon Date: Sat, 28 Aug 2021 17:31:30 -0400 Subject: [PATCH] Fix crash when tapping title of "App theme" preference --- .../eu/kanade/tachiyomi/widget/preference/ThemesPreference.kt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/src/main/java/eu/kanade/tachiyomi/widget/preference/ThemesPreference.kt b/app/src/main/java/eu/kanade/tachiyomi/widget/preference/ThemesPreference.kt index 2dec5a024..8543cc731 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/widget/preference/ThemesPreference.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/widget/preference/ThemesPreference.kt @@ -32,6 +32,10 @@ class ThemesPreference @JvmOverloads constructor(context: Context, attrs: Attrib callChangeListener(value) } + override fun onClick() { + // no-op; not actually a DialogPreference + } + var entries: List = emptyList() set(value) { field = value