diff --git a/submodules/ChatTitleActivityNode/Sources/ChatChoosingStickerActivityContentNode.swift b/submodules/ChatTitleActivityNode/Sources/ChatChoosingStickerActivityContentNode.swift index db171d3143..4542fbae9d 100644 --- a/submodules/ChatTitleActivityNode/Sources/ChatChoosingStickerActivityContentNode.swift +++ b/submodules/ChatTitleActivityNode/Sources/ChatChoosingStickerActivityContentNode.swift @@ -101,7 +101,7 @@ class ChatChoosingStickerActivityContentNode: ChatTitleActivityContentNode { self.indicatorNode = ChatChoosingStickerActivityIndicatorNode(color: color) var text = text - self.advanced = text.string == "choosing sticker" + self.advanced = text.string == "choosing a sticker" if self.advanced { let mutable = text.mutableCopy() as? NSMutableAttributedString mutable?.replaceCharacters(in: NSMakeRange(2, 2), with: " ") diff --git a/submodules/Emoji/Sources/EmojiUtils.swift b/submodules/Emoji/Sources/EmojiUtils.swift index 893bae47e8..58ba322f87 100644 --- a/submodules/Emoji/Sources/EmojiUtils.swift +++ b/submodules/Emoji/Sources/EmojiUtils.swift @@ -136,7 +136,7 @@ public extension String { continue } string.unicodeScalars.append(scalar) - if scalar.value == 0x2764, self.unicodeScalars.count > 1, self.emojis.count == 1 { + if scalar.value == 0x2764 && self.unicodeScalars.count < 3 { break } }