diff options
Diffstat (limited to 'Hotline/iOS/FilesView.swift')
| -rw-r--r-- | Hotline/iOS/FilesView.swift | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Hotline/iOS/FilesView.swift b/Hotline/iOS/FilesView.swift index 5815ca2..017a469 100644 --- a/Hotline/iOS/FilesView.swift +++ b/Hotline/iOS/FilesView.swift @@ -31,6 +31,11 @@ struct FileView: View { return } + // Some servers don't reply when asking for the contents of an empty folder. + if file.isFolder && file.fileSize == 0 { + return + } + Task { await model.getFileList(path: file.path) } |