mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-26 22:47:59 +01:00
properly fetch Date Taken values when needed
This commit is contained in:
parent
78d80abb6a
commit
7e0ebaace9
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ class GetMediaAsynctask(val context: Context, val mPath: String, val isPickImage
|
|||
val favoritePaths = context.getFavoritePaths()
|
||||
val getVideoDurations = context.config.showThumbnailVideoDuration
|
||||
val lastModifieds = if (isRPlus() && getProperLastModified) mediaFetcher.getLastModifieds() else HashMap()
|
||||
val dateTakens = if (getProperLastModified) mediaFetcher.getDateTakens() else HashMap()
|
||||
val dateTakens = if (getProperDateTaken) mediaFetcher.getDateTakens() else HashMap()
|
||||
|
||||
val media = if (showAll) {
|
||||
val foldersToScan = mediaFetcher.getFoldersToScan().filter { it != RECYCLE_BIN && it != FAVORITES && !context.config.isFolderProtected(it) }
|
||||
|
|
Loading…
Reference in a new issue