Make sure migrations are applied if they are migrating to the previews
This commit is contained in:
parent
26cb348661
commit
e6fb7e890a
@ -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)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user