Limit horizontal channel reactions to 16

This commit is contained in:
Isaac 2023-11-27 00:53:53 +04:00
parent a59d8e3247
commit accc4d605b

View File

@ -163,7 +163,7 @@ extension ChatControllerImpl {
selectedItems: selectedReactions.files selectedItems: selectedReactions.files
) )
} }
} else if reactionItems.count > 10 { } else if reactionItems.count > 16 {
actions.getEmojiContent = { [weak self] animationCache, animationRenderer in actions.getEmojiContent = { [weak self] animationCache, animationRenderer in
guard let self else { guard let self else {
preconditionFailure() preconditionFailure()