From 8e5f72f59b937f90fc3b849bf8fada7e6e0033d9 Mon Sep 17 00:00:00 2001 From: tibbi Date: Fri, 26 May 2017 09:10:40 +0200 Subject: [PATCH] hide hidden folders only when appropriate --- .../kotlin/com/simplemobiletools/gallery/extensions/context.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/extensions/context.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/extensions/context.kt index c6dd1893c..d128cd69b 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/extensions/context.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/extensions/context.kt @@ -119,7 +119,7 @@ private fun parseCursor(context: Context, cur: Cursor, isPickImage: Boolean, isP } } - if (!isExcluded) { + if (!isExcluded && !showHidden) { noMediaFolders.forEach { if (path.startsWith(it)) { isExcluded = true