mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-02-07 15:48:52 +01:00
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)) {
|
||||
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
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user