Skip to content

Commit 99217a5

Browse files
committed
fix some display error
1 parent bfd841d commit 99217a5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Example/EaseChatUIKit/AppDelegate.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
1818

1919
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
2020
// Override point for customization after application launch.
21-
let option = ChatOptions(appkey: <#环信AppKey#>)
21+
let option = ChatOptions(appkey: "")
2222
option.enableConsoleLog = true
2323
_ = ChatUIKitClient.shared.setup(option: option)
2424
let redPackage = ActionSheetItem(title: "Red".chat.localize, type: .normal,tag: "Red",image: UIImage(named: "photo", in: .chatBundle, with: nil))

Example/EaseChatUIKit/MineConversationInfo.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ final class MineConversationInfo: ConversationInfo {
6464
return showText
6565
}
6666
} else {
67-
var content = message.showContent
67+
var content = message.showType
6868
if let body = message.body as? ChatCustomMessageBody,body.event == redPackageIdentifier {
6969
content = "[Red Package]"
7070
}

0 commit comments

Comments
 (0)