Fix crash when tapping title of "App theme" preference

This commit is contained in:
arkon 2021-08-28 17:31:30 -04:00
parent 1b699bb814
commit b77edb2b5b

View file

@ -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<PreferenceValues.AppTheme> = emptyList()
set(value) {
field = value