do not show (hidden) after cached folder, if inappropriate

This commit is contained in:
tibbi 2019-11-09 23:33:51 +01:00
parent 296c36fef9
commit 2d08bd3898

View file

@ -595,7 +595,7 @@ fun Context.getCachedDirectories(getVideosOnly: Boolean = false, getImagesOnly:
it.name = if (it.path.doesThisOrParentHaveNoMedia() && !it.path.isThisOrParentIncluded(includedPaths)) { it.name = if (it.path.doesThisOrParentHaveNoMedia() && !it.path.isThisOrParentIncluded(includedPaths)) {
"${it.name.removeSuffix(hiddenString).trim()} $hiddenString" "${it.name.removeSuffix(hiddenString).trim()} $hiddenString"
} else { } else {
it.name it.name.removeSuffix(hiddenString).trim()
} }
} }