Skip to content

Commit f049ae3

Browse files
authored
Add DittoChat init (#115)
1 parent 93686d5 commit f049ae3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

sdks/swift/Sources/DittoChatUI/DittoChatUI.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ public protocol DittoChatViews {
2525
public class DittoChatUI: DittoChatViews {
2626
public var dittoChat: DittoChat
2727

28+
public init(_ dittoChat: DittoChat) {
29+
self.dittoChat = dittoChat
30+
}
31+
2832
public init() {
2933
do {
3034
dittoChat = try DittoChat.builder().build()

0 commit comments

Comments
 (0)