diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/helpers/MediaFetcher.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/helpers/MediaFetcher.kt index 3574f46c0..c89e552c2 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/helpers/MediaFetcher.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/helpers/MediaFetcher.kt @@ -43,7 +43,7 @@ class MediaFetcher(val context: Context) { } else { val newMedia = getMediaInFolder( curPath, isPickImage, isPickVideo, filterMedia, getProperDateTaken, getProperLastModified, getProperFileSize, - favoritePaths, getVideoDurations, lastModifieds, dateTakens + favoritePaths, getVideoDurations, lastModifieds.clone() as HashMap, dateTakens.clone() as HashMap ) curMedia.addAll(newMedia) }