mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2024-12-26 00:05:18 +01:00
try not scanning files from explicitly included folders
This commit is contained in:
parent
aea0329867
commit
ca97779f5d
@ -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 New Issue
Block a user