mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Fix animation
This commit is contained in:
@@ -104,7 +104,7 @@ public extension CALayer {
|
||||
|
||||
return animation
|
||||
} else if timingFunction == kCAMediaTimingFunctionSpring {
|
||||
if #available(iOS 26.0, *) {
|
||||
if #available(iOS 26.0, *), abs(duration - 0.3832) <= 0.0001 {
|
||||
let animation = make26SpringAnimationImpl(keyPath, duration)
|
||||
animation.fromValue = from
|
||||
animation.toValue = to
|
||||
|
||||
Reference in New Issue
Block a user