Initial support for channel stats

UI fixes
This commit is contained in:
Peter
2019-02-22 18:22:55 +03:00
parent cd08fa1f3b
commit c1067d24cb
22 changed files with 3084 additions and 2661 deletions

View File

@@ -1449,6 +1449,8 @@ class ChatMessageBubbleItemNode: ChatMessageItemView {
actionButtonsNode.removeFromSupernode()
strongSelf.actionButtonsNode = nil
}
strongSelf.updateSearchTextHighlightState()
}
})
}
@@ -1958,6 +1960,12 @@ class ChatMessageBubbleItemNode: ChatMessageItemView {
}
}
override func updateSearchTextHighlightState() {
for contentNode in self.contentNodes {
contentNode.updateSearchTextHighlightState(text: self.item?.controllerInteraction.searchTextHighightState)
}
}
override func updateHighlightedState(animated: Bool) {
super.updateHighlightedState(animated: animated)