Фикс: upload ring progress доходит до 100% + completion notification через userInfo

This commit is contained in:
2026-04-17 08:28:39 +05:00
parent 88126c8673
commit 2adce86528
7 changed files with 109 additions and 25 deletions

View File

@@ -168,6 +168,10 @@ private final class MockAttachmentFlowTransport: AttachmentFlowTransporting {
return (tag: tag, server: "https://mock-transport.test")
}
func uploadFile(id: String, content: Data, onProgress: (@MainActor (Double) -> Void)?) async throws -> (tag: String, server: String) {
try await uploadFile(id: id, content: content)
}
func downloadFile(tag: String, server: String?) async throws -> Data {
Data()
}