mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-06-05 21:59:19 +02:00
also check file existence at Included folders, if size returns 0
This commit is contained in:
@@ -271,7 +271,7 @@ class MediaFetcher(val context: Context) {
|
||||
continue
|
||||
|
||||
val size = file.length()
|
||||
if (size <= 0L)
|
||||
if (size <= 0L && !file.exists())
|
||||
continue
|
||||
|
||||
val dateTaken = file.lastModified()
|
||||
|
Reference in New Issue
Block a user