mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-23 04:57:59 +01:00
try not scanning files from explicitly included folders
This commit is contained in:
parent
aea0329867
commit
ca97779f5d
1 changed files with 1 additions and 1 deletions
|
@ -303,7 +303,7 @@ class MediaFetcher(val context: Context) {
|
|||
val isAlreadyAdded = curMedia.any { it.path == file.absolutePath }
|
||||
if (!isAlreadyAdded) {
|
||||
curMedia.add(medium)
|
||||
context.scanPath(file.absolutePath)
|
||||
//context.scanPath(file.absolutePath)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue