mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-02-16 20:10:37 +01:00
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
|
||||
}
|
||||
|
||||
if (checkFileExistence && !file.exists()) {
|
||||
if (checkFileExistence && (!file.exists() || !file.isFile)) {
|
||||
continue
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user