mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
Ongoing work on the updated entity input
This commit is contained in:
@@ -51,6 +51,9 @@ private func chatInputStateString(attributedString: NSAttributedString) -> NSAtt
|
||||
if let _ = attributes[.underlineStyle] {
|
||||
string.addAttribute(ChatTextInputAttributes.underline, value: true as NSNumber, range: range)
|
||||
}
|
||||
if let value = attributes[ChatTextInputAttributes.customEmoji] as? ChatTextInputTextCustomEmojiAttribute {
|
||||
string.addAttribute(ChatTextInputAttributes.customEmoji, value: value, range: range)
|
||||
}
|
||||
})
|
||||
return string
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user