mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Emoji improvements
This commit is contained in:
@@ -387,7 +387,7 @@ public func assertNotOnMainThread(_ file: String = #file, line: Int = #line) {
|
||||
}
|
||||
|
||||
public extension UIImage {
|
||||
func precomposed() -> UIImage {
|
||||
func precomposed() -> UIImage {
|
||||
UIGraphicsBeginImageContextWithOptions(self.size, false, self.scale)
|
||||
self.draw(at: CGPoint())
|
||||
let result = UIGraphicsGetImageFromCurrentImageContext()!
|
||||
|
||||
Reference in New Issue
Block a user