fix #1520, avoid showing some invalid folders as files

This commit is contained in:
tibbi 2019-07-29 13:13:53 +02:00
parent 73fef1a737
commit 29f8f449b9
1 changed files with 1 additions and 1 deletions

View File

@ -230,7 +230,7 @@ class MediaFetcher(val context: Context) {
continue
}
if (checkFileExistence && !file.exists()) {
if (checkFileExistence && (!file.exists() || !file.isFile)) {
continue
}