fix #1207, exclude a given folder if the user excluded it specifically

This commit is contained in:
tibbi 2019-01-14 13:58:29 +01:00
parent 0b3b19bcd5
commit 62502f3722
1 changed files with 2 additions and 0 deletions

View File

@ -23,6 +23,8 @@ fun String.shouldFolderBeVisible(excludedPaths: MutableSet<String>, includedPath
false
} else if (!showHidden && file.containsNoMedia()) {
false
} else if (excludedPaths.contains(this) && !includedPaths.contains(this)) {
false
} else if (isThisOrParentIncluded(includedPaths)) {
true
} else if (isThisOrParentExcluded(excludedPaths)) {