fix #1520, avoid showing some invalid folders as files
This commit is contained in:
parent
73fef1a737
commit
29f8f449b9
|
@ -230,7 +230,7 @@ class MediaFetcher(val context: Context) {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
if (checkFileExistence && !file.exists()) {
|
if (checkFileExistence && (!file.exists() || !file.isFile)) {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue