adding a comment

This commit is contained in:
tibbi 2018-05-25 18:28:39 +02:00
parent 17a55bd606
commit 1bc335b29d

View file

@ -634,6 +634,7 @@ class MainActivity : SimpleActivity(), DirectoryAdapter.DirOperationsListener {
foldersToScan.remove(it.path) foldersToScan.remove(it.path)
} }
// check the remaining folders which were not cached at all yet
for (folder in foldersToScan) { for (folder in foldersToScan) {
val newMedia = mediaFetcher.getFilesFrom(folder, getImagesOnly, getVideosOnly, config.directorySorting, getProperDateTaken) val newMedia = mediaFetcher.getFilesFrom(folder, getImagesOnly, getVideosOnly, config.directorySorting, getProperDateTaken)
if (newMedia.isEmpty()) { if (newMedia.isEmpty()) {