mirror of
https://github.com/mihonapp/mihon.git
synced 2025-10-21 10:38:55 +02:00
Fix extension repo migration not triggering
This commit is contained in:
@@ -22,7 +22,7 @@ android {
|
|||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId = "app.mihon"
|
applicationId = "app.mihon"
|
||||||
|
|
||||||
versionCode = 6
|
versionCode = 7
|
||||||
versionName = "0.16.4"
|
versionName = "0.16.4"
|
||||||
|
|
||||||
buildConfigField("String", "COMMIT_COUNT", "\"${getCommitCount()}\"")
|
buildConfigField("String", "COMMIT_COUNT", "\"${getCommitCount()}\"")
|
||||||
|
@@ -44,7 +44,7 @@ object Migrations {
|
|||||||
|
|
||||||
val coroutineScope = CoroutineScope(Dispatchers.IO)
|
val coroutineScope = CoroutineScope(Dispatchers.IO)
|
||||||
|
|
||||||
if (oldVersion < 6) {
|
if (oldVersion < 7) {
|
||||||
coroutineScope.launchIO {
|
coroutineScope.launchIO {
|
||||||
for ((index, source) in sourcePreferences.extensionRepos().get().withIndex()) {
|
for ((index, source) in sourcePreferences.extensionRepos().get().withIndex()) {
|
||||||
try {
|
try {
|
||||||
|
Reference in New Issue
Block a user