diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/helpers/MediaFetcher.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/helpers/MediaFetcher.kt index 76dd0781f..b4289d92f 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/helpers/MediaFetcher.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/helpers/MediaFetcher.kt @@ -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