fix default theme color

This commit is contained in:
Bnyro 2022-06-29 18:38:58 +02:00
parent 19a46a19c0
commit 9320ddf57f

View File

@ -17,7 +17,7 @@ object ThemeHelper {
} }
private fun updateAccentColor(context: Context) { private fun updateAccentColor(context: Context) {
when (PreferenceHelper.getString(context, "accent_color", "red")) { when (PreferenceHelper.getString(context, "accent_color", "purple")) {
"my" -> context.setTheme(R.style.Theme_MY) "my" -> context.setTheme(R.style.Theme_MY)
"red" -> context.setTheme(R.style.Theme_Red) "red" -> context.setTheme(R.style.Theme_Red)
"blue" -> context.setTheme(R.style.Theme_Blue) "blue" -> context.setTheme(R.style.Theme_Blue)