Hide unfinished reaction list

This commit is contained in:
Ali 2021-12-10 22:04:24 +04:00
parent 2e5a149532
commit c636e41d76

View File

@ -1209,7 +1209,7 @@ func contextMenuForChatPresentationInterfaceState(chatPresentationInterfaceState
controllerInteraction.openPeer(stats.peers[0].id, .default, nil)
})
} else if !stats.peers.isEmpty || reactionCount != 0 {
if reactionCount != 0 {
if reactionCount != 0, !"".isEmpty {
let minHeight = c.getActionsMinHeight()
c.setItems(.single(ContextController.Items(content: .custom(ReactionListContextMenuContent()), tip: nil)), minHeight: minHeight, previousActionsTransition: .slide(forward: true))
} else {