From fcad1f6fa590d6aefd8feacba56746b522bf340f Mon Sep 17 00:00:00 2001 From: tibbi Date: Mon, 25 Sep 2017 23:01:02 +0200 Subject: [PATCH] properly hide hidden folders --- .../gallery/asynctasks/GetDirectoriesAsynctask.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/asynctasks/GetDirectoriesAsynctask.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/asynctasks/GetDirectoriesAsynctask.kt index d6054eb74..80d629d32 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/asynctasks/GetDirectoriesAsynctask.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/asynctasks/GetDirectoriesAsynctask.kt @@ -38,7 +38,7 @@ class GetDirectoriesAsynctask(val context: Context, val isPickVideo: Boolean, va // make sure the path has uppercase letters wherever appropriate val groupPath = File(curMedia.first().path).parent if (!File(groupPath).exists() || !shouldFolderBeVisible(groupPath, excludedPaths, includedPaths)) { - removePaths.add(groupPath) + removePaths.add(groupPath.toLowerCase()) } }