mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-06-05 21:59:19 +02:00
add the included folders at the scaned ones
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user