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
1 changed files with 1 additions and 1 deletions

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.removeSuffix(hiddenString).trim()} $hiddenString"
} else {
it.name
it.name.removeSuffix(hiddenString).trim()
}
}