Fix download indexing with changed storage locations
Fixes #10218 (cherry picked from commit 36f400d54281dd697f1492befc8241eaf31e31ab) # Conflicts: # app/build.gradle.kts # app/src/main/java/eu/kanade/presentation/more/settings/screen/SettingsDataScreen.kt
This commit is contained in:
@@ -650,9 +650,8 @@ object EXHMigrations {
|
||||
newKey = { Preference.privateKey(it) },
|
||||
)
|
||||
|
||||
File(context.cacheDir, "dl_index_cache")
|
||||
.takeIf { it.exists() }
|
||||
?.delete()
|
||||
// Deleting old download cache index files, but might as well clear it all out
|
||||
context.cacheDir.deleteRecursively()
|
||||
}
|
||||
|
||||
// if (oldVersion under 1) { } (1 is current release version)
|
||||
|
||||
Reference in New Issue
Block a user