Saved messages tab improvements

This commit is contained in:
Isaac
2024-01-29 00:09:32 +01:00
parent 03f5073f1d
commit f2ff2e9f3a
27 changed files with 147 additions and 93 deletions

View File

@@ -18,11 +18,6 @@ import PremiumUI
extension ChatControllerImpl {
func openMessageReactionContextMenu(message: Message, sourceView: ContextExtractedContentContainingView, gesture: ContextGesture?, value: MessageReaction.Reaction) {
if !self.chatDisplayNode.historyNode.rotated {
gesture?.cancel()
return
}
if message.areReactionsTags(accountPeerId: self.context.account.peerId) {
if !self.presentationInterfaceState.isPremium {
//TODO:localize