fix theme preference defaults (#4061)
closes #4060 Also I noticed that we had the theme defaults twice in the code so I refactored a bit so only one are still in there.
This commit is contained in:
parent
8935b554d7
commit
ff1c4a4b27
7 changed files with 21 additions and 25 deletions
|
|
@ -10,6 +10,9 @@ enum class AppTheme(val value: String) {
|
|||
|
||||
companion object {
|
||||
fun stringValues() = values().map { it.value }.toTypedArray()
|
||||
|
||||
@JvmField
|
||||
val DEFAULT = AUTO_SYSTEM
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue