mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-06-05 21:59:19 +02:00
fix #747, hide .nomedia folders only if Show Hidden is disabled
This commit is contained in:
@@ -187,7 +187,7 @@ class MediaFetcher(val context: Context) {
|
||||
val file = File(path)
|
||||
return if (path.isEmpty()) {
|
||||
false
|
||||
} else if (file.containsNoMedia()) {
|
||||
} else if (!showHidden && file.containsNoMedia()) {
|
||||
false
|
||||
} else if (path.isThisOrParentIncluded(includedPaths)) {
|
||||
true
|
||||
|
Reference in New Issue
Block a user