fix #1414, show proper root storage folder name at grouping

This commit is contained in:
tibbi 2019-05-13 10:30:22 +02:00
parent dac85245ba
commit 54cb98139e

View file

@ -274,7 +274,7 @@ fun Context.getDirectParentSubfolders(dirs: ArrayList<Directory>, currentPathPre
val directory = Directory(newDirId++, val directory = Directory(newDirId++,
parent, parent,
subDirs.first().tmb, subDirs.first().tmb,
parent.getFilenameFromPath(), getFolderNameFromPath(parent),
subDirs.sumBy { it.mediaCnt }, subDirs.sumBy { it.mediaCnt },
lastModified, lastModified,
dateTaken, dateTaken,