fixing an error with no folders for scanning
This commit is contained in:
parent
d76f3595ec
commit
4d016a9e09
1 changed files with 1 additions and 1 deletions
|
@ -178,7 +178,7 @@ class MediaFetcher(val context: Context) {
|
|||
val showHidden = config.shouldShowHidden
|
||||
val excludedFolders = config.excludedFolders
|
||||
foldersToScan = foldersToScan.filter { it.shouldFolderBeVisible(excludedFolders, includedFolders, showHidden) } as ArrayList<String>
|
||||
return foldersToScan.distinctBy { it.getDistinctPath() }.toSet() as LinkedHashSet<String>
|
||||
return foldersToScan.distinctBy { it.getDistinctPath() }.toMutableSet() as LinkedHashSet<String>
|
||||
}
|
||||
|
||||
private fun addFolder(curFolders: ArrayList<String>, folder: String) {
|
||||
|
|
Loading…
Reference in a new issue