also check file existence at Included folders, if size returns 0
This commit is contained in:
parent
47046d3d11
commit
0ae0d8df12
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue