mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-21 18:31:51 +01:00
parent
3aead3a2a9
commit
ccadfc8fe5
@ -22,7 +22,7 @@ android {
|
|||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId = "eu.kanade.tachiyomi"
|
applicationId = "eu.kanade.tachiyomi"
|
||||||
|
|
||||||
versionCode = 110
|
versionCode = 111
|
||||||
versionName = "0.14.7"
|
versionName = "0.14.7"
|
||||||
|
|
||||||
buildConfigField("String", "COMMIT_COUNT", "\"${getCommitCount()}\"")
|
buildConfigField("String", "COMMIT_COUNT", "\"${getCommitCount()}\"")
|
||||||
|
@ -416,6 +416,11 @@ object Migrations {
|
|||||||
newKey = { Preference.appStateKey(it) },
|
newKey = { Preference.appStateKey(it) },
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
if (oldVersion < 111) {
|
||||||
|
File(context.cacheDir, "dl_index_cache")
|
||||||
|
.takeIf { it.exists() }
|
||||||
|
?.delete()
|
||||||
|
}
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -94,7 +94,7 @@ class DownloadCache(
|
|||||||
.stateIn(scope, SharingStarted.WhileSubscribed(), false)
|
.stateIn(scope, SharingStarted.WhileSubscribed(), false)
|
||||||
|
|
||||||
private val diskCacheFile: File
|
private val diskCacheFile: File
|
||||||
get() = File(context.cacheDir, "dl_index_cache")
|
get() = File(context.cacheDir, "dl_index_cache_v2")
|
||||||
|
|
||||||
private val rootDownloadsDirLock = Mutex()
|
private val rootDownloadsDirLock = Mutex()
|
||||||
private var rootDownloadsDir = RootDirectory(provider.downloadsDir)
|
private var rootDownloadsDir = RootDirectory(provider.downloadsDir)
|
||||||
|
Loading…
Reference in New Issue
Block a user