mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-02-17 04:20:38 +01:00
fixed a glitch with files not being sorted properly in some cases
This commit is contained in:
parent
352dbe40bf
commit
e1c5631c58
@ -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)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user