mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-05 19:28:46 +02:00
Various improvements
This commit is contained in:
parent
51a7348db6
commit
027ac77ad7
19 changed files with 263 additions and 86 deletions
|
|
@ -2958,7 +2958,7 @@ extension Customoji {
|
|||
if let cg = (image as UIImage).cgImage { return cg }
|
||||
|
||||
var rendered: CGImage?
|
||||
let work = { rendered = renderCGImage(image as! UIImage) }
|
||||
let work = { rendered = renderCGImage(image) }
|
||||
if Thread.isMainThread {
|
||||
work()
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue