Fixed not moving cached gallery to download folder
This commit is contained in:
@@ -63,7 +63,7 @@ class GalleryDownloader(
|
|||||||
field = true
|
field = true
|
||||||
notificationManager.notify(galleryID, notificationBuilder.build())
|
notificationManager.notify(galleryID, notificationBuilder.build())
|
||||||
|
|
||||||
val data = getCachedGallery(this, galleryID)
|
val data = File(getDownloadDirectory(this), galleryID.toString())
|
||||||
val cache = File(cacheDir, "imageCache/$galleryID")
|
val cache = File(cacheDir, "imageCache/$galleryID")
|
||||||
|
|
||||||
if (File(cache, "images").exists() && !data.exists()) {
|
if (File(cache, "images").exists() && !data.exists()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user