mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-26 22:47:59 +01:00
fix #747, hide .nomedia folders only if Show Hidden is disabled
This commit is contained in:
parent
4e5b863d7c
commit
8db3a5007a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue