Add continue reading button migration

This commit is contained in:
Jobobby04 2022-11-16 22:18:30 -05:00
parent ab4f08e41a
commit 402a883f7f
2 changed files with 6 additions and 1 deletions

View File

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

View File

@ -496,6 +496,11 @@ object EXHMigrations {
}
}
}
if (oldVersion under 43) {
if (preferenceStore.getBoolean("start_reading_button").get()) {
libraryPreferences.showContinueReadingButton().set(true)
}
}
// if (oldVersion under 1) { } (1 is current release version)
// do stuff here when releasing changed crap