properly hide hidden folders

This commit is contained in:
tibbi 2017-09-25 23:01:02 +02:00
parent c242f74f9b
commit fcad1f6fa5

View file

@ -38,7 +38,7 @@ class GetDirectoriesAsynctask(val context: Context, val isPickVideo: Boolean, va
// make sure the path has uppercase letters wherever appropriate // make sure the path has uppercase letters wherever appropriate
val groupPath = File(curMedia.first().path).parent val groupPath = File(curMedia.first().path).parent
if (!File(groupPath).exists() || !shouldFolderBeVisible(groupPath, excludedPaths, includedPaths)) { if (!File(groupPath).exists() || !shouldFolderBeVisible(groupPath, excludedPaths, includedPaths)) {
removePaths.add(groupPath) removePaths.add(groupPath.toLowerCase())
} }
} }