hide hidden folders only when appropriate

This commit is contained in:
tibbi 2017-05-26 09:10:40 +02:00
parent 9e16592c44
commit 8e5f72f59b

View file

@ -119,7 +119,7 @@ private fun parseCursor(context: Context, cur: Cursor, isPickImage: Boolean, isP
} }
} }
if (!isExcluded) { if (!isExcluded && !showHidden) {
noMediaFolders.forEach { noMediaFolders.forEach {
if (path.startsWith(it)) { if (path.startsWith(it)) {
isExcluded = true isExcluded = true