fix #1520, avoid showing some invalid folders as files
This commit is contained in:
parent
73fef1a737
commit
29f8f449b9
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue