fixed a glitch with files not being sorted properly in some cases
This commit is contained in:
parent
352dbe40bf
commit
e1c5631c58
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ class MediaFetcher(val context: Context) {
|
||||||
} else {
|
} else {
|
||||||
val newMedia = getMediaInFolder(
|
val newMedia = getMediaInFolder(
|
||||||
curPath, isPickImage, isPickVideo, filterMedia, getProperDateTaken, getProperLastModified, getProperFileSize,
|
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)
|
curMedia.addAll(newMedia)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue