Peer sound and message removal update

This commit is contained in:
Ali
2022-03-30 01:22:44 +04:00
parent 0e55dd7db7
commit 235302c7c4
63 changed files with 3906 additions and 1934 deletions

View File

@@ -94,6 +94,8 @@ private final class ContextControllerActionsListActionItemNode: HighlightTrackin
self.addSubnode(self.subtitleNode)
self.addSubnode(self.iconNode)
self.isEnabled = self.canBeHighlighted()
self.highligthedChanged = { [weak self] highlighted in
guard let strongSelf = self else {
return
@@ -135,7 +137,7 @@ private final class ContextControllerActionsListActionItemNode: HighlightTrackin
}
func canBeHighlighted() -> Bool {
return true
return self.item.action != nil
}
func updateIsHighlighted(isHighlighted: Bool) {