Fix crash when tapping title of "App theme" preference
This commit is contained in:
parent
1b699bb814
commit
b77edb2b5b
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Reference in a new issue