Skip to content

Commit 0725263

Browse files
authored
ParticipantInfo: make init public (#116)
1 parent dfcf305 commit 0725263

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Sources/StreamChatSwiftUI/ChatChannel/ChannelInfo/ChatInfoParticipantsView.swift

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,10 @@ public struct ParticipantInfo: Identifiable {
4848
public let chatUser: ChatUser
4949
public let displayName: String
5050
public let onlineInfoText: String
51+
52+
public init(chatUser: ChatUser, displayName: String, onlineInfoText: String) {
53+
self.chatUser = chatUser
54+
self.displayName = displayName
55+
self.onlineInfoText = onlineInfoText
56+
}
5157
}

0 commit comments

Comments
 (0)