mirror of
https://github.com/mihonapp/mihon.git
synced 2025-03-28 01:32:30 +00:00
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)
|
callChangeListener(value)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
override fun onClick() {
|
||||||
|
// no-op; not actually a DialogPreference
|
||||||
|
}
|
||||||
|
|
||||||
var entries: List<PreferenceValues.AppTheme> = emptyList()
|
var entries: List<PreferenceValues.AppTheme> = emptyList()
|
||||||
set(value) {
|
set(value) {
|
||||||
field = value
|
field = value
|
||||||
|
|
Loading…
Reference in a new issue