mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-02-08 08:08:45 +01:00
hide folders that contain .nomedia file themselves
This commit is contained in:
parent
26aa79294b
commit
e2f149eb3e
@ -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…
x
Reference in New Issue
Block a user