Skip to content

Commit d64ade5

Browse files
committed
Fix linting issue
1 parent d0e20a9 commit d64ade5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Sources/StreamChatSwiftUI/ChatChannel/Composer/ComposerConfig.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ public struct ComposerConfig {
2323
inputFont: UIFont = UIFont.preferredFont(forTextStyle: .body),
2424
adjustMessageOnSend: @escaping (String) -> (String) = { $0 },
2525
adjustMessageOnRead: @escaping (String) -> (String) = { $0 },
26-
attachmentPayloadConverter: @escaping (ChatMessage) -> [AnyAttachmentPayload] = ComposerConfig.defaultAttachmentPayloadConverter
26+
attachmentPayloadConverter: @escaping (ChatMessage) -> [AnyAttachmentPayload]
27+
= ComposerConfig.defaultAttachmentPayloadConverter
2728
) {
2829
self.inputViewMinHeight = inputViewMinHeight
2930
self.inputViewMaxHeight = inputViewMaxHeight

0 commit comments

Comments
 (0)