mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-06-05 21:59:19 +02:00
fixed a glitch with files not being sorted properly in some cases
This commit is contained in:
@ -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<String, Long>, dateTakens.clone() as HashMap<String, Long>
|
||||
)
|
||||
curMedia.addAll(newMedia)
|
||||
}
|
||||
|
Reference in New Issue
Block a user