mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-06-05 21:59:19 +02:00
try not scanning files from explicitly included folders
This commit is contained in:
@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user