Various fixes

This commit is contained in:
Ilya Laktyushin
2023-06-22 02:51:48 +04:00
parent 270f72dac0
commit 75c01b0897
4 changed files with 9 additions and 9 deletions

View File

@@ -587,6 +587,7 @@ public func refreshChatTextInputAttributes(textView: UITextView, primaryTextColo
}
} else if key == ChatTextInputAttributes.customEmoji, let value = value as? ChatTextInputTextCustomEmojiAttribute {
textView.textStorage.addAttribute(key, value: value, range: range)
textView.textStorage.addAttribute(NSAttributedString.Key.foregroundColor, value: UIColor.clear, range: range)
}
}