avoid showing portrait photos on the main screen

This commit is contained in:
tibbi 2020-03-05 20:02:31 +01:00
parent 7d94f02f44
commit de48742daa
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ fun String.shouldFolderBeVisible(excludedPaths: MutableSet<String>, 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
}
}