mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 06:35:51 +00:00
Emoji improvements
This commit is contained in:
@@ -17,7 +17,7 @@ public func cacheLottieAnimation(data: Data, width: Int, height: Int, writer: An
|
||||
|
||||
let frameSkip: Int
|
||||
if animation.frameRate >= 60 {
|
||||
if ProcessInfo.processInfo.activeProcessorCount > 2 {
|
||||
if ProcessInfo.processInfo.processorCount > 2 {
|
||||
frameSkip = 1
|
||||
} else {
|
||||
frameSkip = 2
|
||||
|
||||
Reference in New Issue
Block a user