File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Sources/EaseChatUIKit/Classes/Service/Client Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -53,12 +53,12 @@ public let cache_update_notification = "ChatUIKitContextUpdateCache"
5353 @objc ( setupWithAppKey: option: )
5454 public func setup( appKey: String ? = nil , option: ChatOptions ? = nil ) -> ChatError ? {
5555 if let options = option {
56- options. uikitVersion = ChatUIKit_VERSION
56+ options. uiKitVersion = ChatUIKit_VERSION
5757 return ChatClient . shared ( ) . initializeSDK ( with: options)
5858 } else {
5959 if let key = appKey {
6060 let options = ChatOptions ( appkey: key)
61- options. uikitVersion = ChatUIKit_VERSION
61+ options. uiKitVersion = ChatUIKit_VERSION
6262 return ChatClient . shared ( ) . initializeSDK ( with: options)
6363 }
6464 return ChatError ( description: " App key can't be nil " , code: . invalidAppkey)
You can’t perform that action at this time.
0 commit comments