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++,
parent,
subDirs.first().tmb,
parent.getFilenameFromPath(),
getFolderNameFromPath(parent),
subDirs.sumBy { it.mediaCnt },
lastModified,
dateTaken,