mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-26 22:47: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 }
|
val isAlreadyAdded = curMedia.any { it.path == file.absolutePath }
|
||||||
if (!isAlreadyAdded) {
|
if (!isAlreadyAdded) {
|
||||||
curMedia.add(medium)
|
curMedia.add(medium)
|
||||||
context.scanPath(file.absolutePath)
|
//context.scanPath(file.absolutePath)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue