mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-06-05 21:59:19 +02:00
fix #1520, avoid showing some invalid folders as files
This commit is contained in:
@ -230,7 +230,7 @@ class MediaFetcher(val context: Context) {
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
if (checkFileExistence && !file.exists()) {
|
if (checkFileExistence && (!file.exists() || !file.isFile)) {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user