mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-01-28 10:19:25 +01:00
add the included folders at the scaned ones
This commit is contained in:
parent
a3777d0f73
commit
d61f1d7d1b
@ -74,6 +74,8 @@ fun Context.getParents(): ArrayList<String> {
|
||||
parentsSet.addAll(noMediaFolders)
|
||||
}
|
||||
|
||||
parentsSet.addAll(config.includedFolders)
|
||||
|
||||
parentsSet.filterTo(parents, {
|
||||
val file = File(it)
|
||||
if (file.isDirectory && file.canonicalFile == file.absoluteFile) { // filter out symbolic links too
|
||||
|
Loading…
x
Reference in New Issue
Block a user