mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-26 22:47:59 +01:00
fix #1207, exclude a given folder if the user excluded it specifically
This commit is contained in:
parent
0b3b19bcd5
commit
62502f3722
1 changed files with 2 additions and 0 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Reference in a new issue