Archived
Changed card tinting method to use strings rather than raw integers to prevent mix-up of colours on app update; added migration strategy to convert old raw integer colours into string values
This commit is contained in:
@@ -43,6 +43,11 @@ class Main : AppCompatActivity(R.layout.app_bar_main) {
|
||||
startActivity(firstTime)
|
||||
finish()
|
||||
} else {
|
||||
if (!prefs.getBoolean("colourTransferred", false)) {
|
||||
MiscData.transferOldColourIntsToString(prefs)
|
||||
edit.putBoolean("colourTransferred", true).apply()
|
||||
}
|
||||
|
||||
edit.putInt("launchDev", prefs.getInt("launchDev", 0) + 1)
|
||||
edit.apply()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user