diff options
| author | Dustin Mierau <dustin@mierau.me> | 2024-07-26 15:22:29 -0700 |
|---|---|---|
| committer | Dustin Mierau <dustin@mierau.me> | 2024-07-26 15:22:29 -0700 |
| commit | d1cc8ee22acb8b8f378959ee3e618673b63f37d9 (patch) | |
| tree | a00bdb3cde355d0429527e953379c436c3a2e2ce /Hotline/Models/FilePreview.swift | |
| parent | f9e5f8a3a66df6e59726ca1659043fb54ed894e4 (diff) | |
Further work on uploads. Also properly reading and writing file HFS type/creator codes and finder comments.
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 |