Фикс: upload ring progress доходит до 100% + completion notification через userInfo
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user