mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-22 20:48:00 +01:00
add the included folders at the scaned ones
This commit is contained in:
parent
a3777d0f73
commit
d61f1d7d1b
1 changed files with 2 additions and 0 deletions
|
@ -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…
Reference in a new issue