mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-30 00:17:58 +01:00
hide folders that contain .nomedia file themselves
This commit is contained in:
parent
26aa79294b
commit
e2f149eb3e
1 changed files with 2 additions and 0 deletions
|
@ -187,6 +187,8 @@ class MediaFetcher(val context: Context) {
|
|||
val file = File(path)
|
||||
return if (path.isEmpty()) {
|
||||
false
|
||||
} else if (file.containsNoMedia()) {
|
||||
false
|
||||
} else if (path.isThisOrParentIncluded(includedPaths)) {
|
||||
true
|
||||
} else if (path.isThisOrParentExcluded(excludedPaths)) {
|
||||
|
|
Loading…
Reference in a new issue