mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-02-07 23:58:59 +01:00
fix a glitch with wrong sorting by date taken
This commit is contained in:
parent
4ab9fcb29d
commit
2838887c83
@ -38,7 +38,7 @@ class GetMediaAsynctask(val context: Context, val mPath: String, val isPickImage
|
||||
val media = ArrayList<Medium>()
|
||||
foldersToScan.forEach {
|
||||
val newMedia = mediaFetcher.getFilesFrom(it, isPickImage, isPickVideo, getProperDateTaken, getProperLastModified, getProperFileSize,
|
||||
favoritePaths, getVideoDurations, lastModifieds, dateTakens, null)
|
||||
favoritePaths, getVideoDurations, lastModifieds, dateTakens.clone() as HashMap<String, Long>, null)
|
||||
media.addAll(newMedia)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user