mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-02-17 04:20:38 +01:00
fix #747, hide .nomedia folders only if Show Hidden is disabled
This commit is contained in:
parent
4e5b863d7c
commit
8db3a5007a
@ -187,7 +187,7 @@ class MediaFetcher(val context: Context) {
|
|||||||
val file = File(path)
|
val file = File(path)
|
||||||
return if (path.isEmpty()) {
|
return if (path.isEmpty()) {
|
||||||
false
|
false
|
||||||
} else if (file.containsNoMedia()) {
|
} else if (!showHidden && file.containsNoMedia()) {
|
||||||
false
|
false
|
||||||
} else if (path.isThisOrParentIncluded(includedPaths)) {
|
} else if (path.isThisOrParentIncluded(includedPaths)) {
|
||||||
true
|
true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user