diff options
Diffstat (limited to 'Hotline/Models/FilePreview.swift')
| -rw-r--r-- | Hotline/Models/FilePreview.swift | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Hotline/Models/FilePreview.swift b/Hotline/Models/FilePreview.swift index 3960a0d..e5f49a3 100644 --- a/Hotline/Models/FilePreview.swift +++ b/Hotline/Models/FilePreview.swift @@ -80,6 +80,9 @@ final class FilePreview: HotlineFilePreviewClientDelegate { case .failed(_): state = .failed progress = 0.0 + case .completing: + state = .loading + progress = 1.0 case .completed: state = .loaded progress = 1.0 |