Fixed not moving cached gallery to download folder

This commit is contained in:
tom5079
2019-08-28 09:01:39 +09:00
parent e0a6102d4d
commit 27a8694938

View File

@@ -63,7 +63,7 @@ class GalleryDownloader(
field = true
notificationManager.notify(galleryID, notificationBuilder.build())
val data = getCachedGallery(this, galleryID)
val data = File(getDownloadDirectory(this), galleryID.toString())
val cache = File(cacheDir, "imageCache/$galleryID")
if (File(cache, "images").exists() && !data.exists()) {