mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
[WIP] Release changes
This commit is contained in:
@@ -649,6 +649,7 @@ final class ContextControllerExtractedPresentationNode: ASDisplayNode, ContextCo
|
||||
items: reactionItems.reactionItems,
|
||||
selectedItems: reactionItems.selectedReactionItems,
|
||||
title: reactionItems.reactionsTitle,
|
||||
reactionsLocked: reactionItems.reactionsLocked,
|
||||
alwaysAllowPremiumReactions: reactionItems.alwaysAllowPremiumReactions,
|
||||
allPresetReactionsAreAvailable: reactionItems.allPresetReactionsAreAvailable,
|
||||
getEmojiContent: reactionItems.getEmojiContent,
|
||||
@@ -691,6 +692,13 @@ final class ContextControllerExtractedPresentationNode: ASDisplayNode, ContextCo
|
||||
return
|
||||
}
|
||||
|
||||
if let reactionItems = strongSelf.actionsStackNode.topReactionItems, !reactionItems.reactionItems.isEmpty {
|
||||
if reactionItems.allPresetReactionsAreAvailable {
|
||||
controller.premiumReactionsSelected?()
|
||||
return
|
||||
}
|
||||
}
|
||||
|
||||
if let file = file, let reactionContextNode = strongSelf.reactionContextNode {
|
||||
let position: UndoOverlayController.Position
|
||||
let insets = validLayout.insets(options: .statusBar)
|
||||
|
||||
Reference in New Issue
Block a user