Support stable users migrating to preview

This commit is contained in:
Jobobby04 2022-08-14 16:00:03 -04:00
parent 5df6050180
commit acfc76bdd0
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ android {
applicationId = "eu.kanade.tachiyomi.sy"
minSdk = AndroidConfig.minSdk
targetSdk = AndroidConfig.targetSdk
versionCode = 37
versionCode = 38
versionName = "1.8.5"
buildConfigField("String", "COMMIT_COUNT", "\"${getCommitCount()}\"")

View File

@ -411,7 +411,7 @@ object EXHMigrations {
preferences.navigationModeWebtoon().set(5)
}
}
if (oldVersion under 37) {
if (oldVersion under 38) {
// Handle renamed enum values
@Suppress("DEPRECATION")
val newSortingMode = when (val oldSortingMode = preferences.librarySortingMode().get()) {