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

This commit is contained in:
Jobobby04 2023-04-16 17:42:16 -04:00
parent 641cc942cb
commit 64cdf0d158

View File

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