Skip to content

Commit

Permalink
Made view factory param optional in ChatChannelView init
Browse files Browse the repository at this point in the history
  • Loading branch information
martinmitrevski committed Oct 20, 2023
1 parent acca60c commit 40a5c07
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public struct ChatChannelView<Factory: ViewFactory>: View, KeyboardReadable {
private var factory: Factory

public init(
viewFactory: Factory,
viewFactory: Factory = DefaultViewFactory.shared,
viewModel: ChatChannelViewModel? = nil,
channelController: ChatChannelController,
messageController: ChatMessageController? = nil,
Expand Down

0 comments on commit 40a5c07

Please sign in to comment.