Skip to content

Commit 7f5c32c

Browse files
committed
Add missing MainActor annotation
1 parent bb08956 commit 7f5c32c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

StreamChatSwiftUITests/Tests/ChatChannel/MessageComposerView_Tests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -808,7 +808,7 @@ import XCTest
808808
class SynchronousAttachmentsConverter: MessageAttachmentsConverter {
809809
override func attachmentsToAssets(
810810
_ attachments: [AnyChatMessageAttachment],
811-
completion: @escaping (ComposerAssets) -> Void
811+
completion: @escaping @MainActor (ComposerAssets) -> Void
812812
) {
813813
super.attachmentsToAssets(attachments, with: nil, completion: completion)
814814
}

0 commit comments

Comments
 (0)