fixed accent setter

This commit is contained in:
X1nto 2020-05-04 02:05:14 +04:00
parent 7d8e6c0939
commit 9d5827a10d
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ open class ThemeActivity : AppCompatActivity() {
//own implementation of theme switching
private fun setFinalTheme(currentTheme: String) {
val currentAccent = pref.getString("accent_color", "Blue").toString()
val currentAccent = pref.getString("accent_mode", "Blue").toString()
when (currentTheme) {
"LIGHT" -> setLightAccent(currentAccent)
"DARK" -> setDarkAccent(currentAccent)