Private
Public Access
1
0

Implements attachment uploading

This commit is contained in:
2025-09-03 22:38:26 -07:00
parent b2f8abfbff
commit 46755a07ef
3 changed files with 106 additions and 11 deletions

View File

@@ -12,11 +12,12 @@ enum AttachmentState
{
case staged
case uploading(progress: Double)
case uploaded
case uploaded(String) // fileTransferGUID
case failed
}
struct OutgoingAttachment: Identifiable, Hashable
@Observable
class OutgoingAttachment: Identifiable, Hashable
{
let id: String
let originalURL: URL