avoid showing portrait photos on the main screen
This commit is contained in:
parent
7d94f02f44
commit
de48742daa
|
@ -20,7 +20,7 @@ fun String.shouldFolderBeVisible(excludedPaths: MutableSet<String>, includedPath
|
||||||
if (file.name.startsWith("img_", true)) {
|
if (file.name.startsWith("img_", true)) {
|
||||||
val files = file.list()
|
val files = file.list()
|
||||||
if (files != null) {
|
if (files != null) {
|
||||||
if (files.any { it.contains("portrait", true) && it.contains("burst", true) }) {
|
if (files.any { it.contains("burst", true) }) {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue