From de48742daaa0f263f1c9fb45bb521a2cc8751e19 Mon Sep 17 00:00:00 2001 From: tibbi Date: Thu, 5 Mar 2020 20:02:31 +0100 Subject: [PATCH] avoid showing portrait photos on the main screen --- .../com/simplemobiletools/gallery/pro/extensions/String.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/extensions/String.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/extensions/String.kt index 8d126a9db..ccfaa425b 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/extensions/String.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/extensions/String.kt @@ -20,7 +20,7 @@ fun String.shouldFolderBeVisible(excludedPaths: MutableSet, includedPath if (file.name.startsWith("img_", true)) { val files = file.list() if (files != null) { - if (files.any { it.contains("portrait", true) && it.contains("burst", true) }) { + if (files.any { it.contains("burst", true) }) { return false } }