mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-02-18 13:00:36 +01:00
fix #1207, exclude a given folder if the user excluded it specifically
This commit is contained in:
parent
0b3b19bcd5
commit
62502f3722
@ -23,6 +23,8 @@ fun String.shouldFolderBeVisible(excludedPaths: MutableSet<String>, includedPath
|
|||||||
false
|
false
|
||||||
} else if (!showHidden && file.containsNoMedia()) {
|
} else if (!showHidden && file.containsNoMedia()) {
|
||||||
false
|
false
|
||||||
|
} else if (excludedPaths.contains(this) && !includedPaths.contains(this)) {
|
||||||
|
false
|
||||||
} else if (isThisOrParentIncluded(includedPaths)) {
|
} else if (isThisOrParentIncluded(includedPaths)) {
|
||||||
true
|
true
|
||||||
} else if (isThisOrParentExcluded(excludedPaths)) {
|
} else if (isThisOrParentExcluded(excludedPaths)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user