mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-04-18 13:22:03 +00:00
fix disappearing all_colors for dark theme on upgrade from 2.3
This commit is contained in:
parent
d3401e5c04
commit
55259b2915
1 changed files with 1 additions and 1 deletions
|
@ -232,7 +232,7 @@ fun checkVersionUpgrade(context: Context) {
|
|||
KeyboardTheme.writeUserMoreColors(prefs, themeNameNight, moreColorsNight)
|
||||
}
|
||||
if (prefs.contains("theme_dark_color_all_colors")) {
|
||||
val allColorsNight = readAllColorsMap(false)
|
||||
val allColorsNight = readAllColorsMap(true)
|
||||
prefs.edit().remove("theme_dark_color_all_colors").apply()
|
||||
KeyboardTheme.writeUserAllColors(prefs, themeNameNight, allColorsNight)
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue