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:
Konrad Pozniak 2023-10-14 14:20:20 +02:00 committed by GitHub
commit ff1c4a4b27
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 21 additions and 25 deletions

View file

@ -10,6 +10,9 @@ enum class AppTheme(val value: String) {
companion object {
fun stringValues() = values().map { it.value }.toTypedArray()
@JvmField
val DEFAULT = AUTO_SYSTEM
}
}