Fix release migrations

This commit is contained in:
Jobobby04 2023-10-29 18:55:21 -04:00
parent 6baa24273a
commit caaa7a53bc

View File

@ -507,7 +507,7 @@ object EXHMigrations {
// Force MangaDex log out due to login flow change // Force MangaDex log out due to login flow change
trackerManager.mdList.logout() trackerManager.mdList.logout()
} }
if (oldVersion under 51) { if (oldVersion under 52) {
LibraryUpdateJob.cancelAllWorks(context) LibraryUpdateJob.cancelAllWorks(context)
LibraryUpdateJob.setupTask(context) LibraryUpdateJob.setupTask(context)
// Removed background jobs // Removed background jobs
@ -539,8 +539,6 @@ object EXHMigrations {
preferenceStore.getEnum("${key}_v2", TriState.DISABLED).set(newValue) preferenceStore.getEnum("${key}_v2", TriState.DISABLED).set(newValue)
} }
} }
}
if (oldVersion under 52) {
BackupCreateJob.setupTask(context) BackupCreateJob.setupTask(context)
} }
// if (oldVersion under 53) { // if (oldVersion under 53) {