diff --git a/Sources/StreamChatSwiftUI/ChatChannel/ChatChannelView.swift b/Sources/StreamChatSwiftUI/ChatChannel/ChatChannelView.swift index 02896dbd..17e4e0e7 100644 --- a/Sources/StreamChatSwiftUI/ChatChannel/ChatChannelView.swift +++ b/Sources/StreamChatSwiftUI/ChatChannel/ChatChannelView.swift @@ -22,7 +22,7 @@ public struct ChatChannelView: View, KeyboardReadable { private var factory: Factory public init( - viewFactory: Factory, + viewFactory: Factory = DefaultViewFactory.shared, viewModel: ChatChannelViewModel? = nil, channelController: ChatChannelController, messageController: ChatMessageController? = nil,