Make sure migrations are applied if they are migrating to the previews

This commit is contained in:
Jobobby04 2023-04-17 17:30:08 -04:00
parent 26cb348661
commit e6fb7e890a

View File

@ -505,7 +505,7 @@ object EXHMigrations {
// Force MangaDex log out due to login flow change // Force MangaDex log out due to login flow change
trackManager.mdList.logout() trackManager.mdList.logout()
} }
if (oldVersion under 49) { if (oldVersion under 50) {
LibraryUpdateJob.cancelAllWorks(context) LibraryUpdateJob.cancelAllWorks(context)
LibraryUpdateJob.setupTask(context) LibraryUpdateJob.setupTask(context)
// Removed background jobs // Removed background jobs
@ -538,7 +538,7 @@ object EXHMigrations {
} }
} }
} }
if (oldVersion under 50) { if (oldVersion under 51) {
BackupCreateJob.setupTask(context) BackupCreateJob.setupTask(context)
} }