Fix copy to download dir in mixed mode

This commit is contained in:
tarsin committed 2023-03-22 12:27:01 +08:00
1 parent 34c39464ae
commit a6b4f05f7f
1 file changed
+1 -1
@@ -286,7 +286,7 @@ class SpiderDen(private val mGalleryInfo: GalleryInfo) {
}
val dir = downloadDir ?: return null
var file = findImageFile(dir, index)
if (file != null && mMode == SpiderQueen.MODE_DOWNLOAD) {
if (file == null && mMode == SpiderQueen.MODE_DOWNLOAD) {
if (copyFromCacheToDownloadDir(index)) {
file = findImageFile(dir, index)
}