|
@@ -50,7 +50,7 @@ object Migrations {
|
|
|
backupPreferences: BackupPreferences,
|
|
|
trackerManager: TrackerManager,
|
|
|
): Boolean {
|
|
|
- val lastVersionCode = preferenceStore.getInt("last_version_code", 0)
|
|
|
+ val lastVersionCode = preferenceStore.getInt(Preference.appStateKey("last_version_code"), 0)
|
|
|
val oldVersion = lastVersionCode.get()
|
|
|
if (oldVersion < BuildConfig.VERSION_CODE) {
|
|
|
lastVersionCode.set(BuildConfig.VERSION_CODE)
|
|
@@ -396,7 +396,7 @@ object Migrations {
|
|
|
newKey = { Preference.privateKey(it) },
|
|
|
)
|
|
|
}
|
|
|
- if (oldVersion < 108) {
|
|
|
+ if (oldVersion < 110) {
|
|
|
val prefsToReplace = listOf(
|
|
|
"pref_download_only",
|
|
|
"incognito_mode",
|
|
@@ -406,6 +406,9 @@ object Migrations {
|
|
|
"library_update_last_timestamp",
|
|
|
"library_unseen_updates_count",
|
|
|
"last_used_category",
|
|
|
+ "last_app_check",
|
|
|
+ "last_ext_check",
|
|
|
+ "last_version_code",
|
|
|
)
|
|
|
replacePreferences(
|
|
|
preferenceStore = preferenceStore,
|