Skip to content

Commit 991a87c

Browse files
authored
Merge pull request #26 from zjc19891106/main
fix conversation hooker bug
2 parents 98dc08d + 3706198 commit 991a87c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/EaseChatUIKit/Classes/UI/Components/Conversation/Views/ConversationList.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ extension ConversationList: UITableViewDelegate,UITableViewDataSource {
9494
public func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
9595
tableView.deselectRow(at: indexPath, animated: true)
9696
guard let info = self.datas[safe: indexPath.row] else { return }
97-
if let hooker = ComponentViewsActionHooker.shared.conversation.longPressed {
97+
if let hooker = ComponentViewsActionHooker.shared.conversation.didSelected {
9898
hooker(indexPath,info)
9999
} else {
100100
for listener in self.eventHandlers.allObjects {
@@ -423,7 +423,7 @@ extension ConversationList: ThemeSwitchProtocol {
423423
func showNew(info: ConversationInfo)
424424

425425
/// This method can be used when you want refresh some display info of datas.
426-
/// - Parameter infos: Array of conform ``EaseProfileProtocol`` object.
426+
/// - Parameter infos: Array of conform ``ChatUserProfileProtocol`` object.
427427
func refreshProfiles(infos: [ChatUserProfileProtocol])
428428

429429
/// This method can be used when pulling down to refresh.

0 commit comments

Comments
 (0)