mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Refactoring
This commit is contained in:
@@ -374,7 +374,7 @@ public final class InlineStickerItemLayer: MultiAnimationRenderTarget {
|
||||
}
|
||||
}
|
||||
if let customColor {
|
||||
Transition.immediate.setTintColor(layer: mirrorLayer, color: customColor)
|
||||
ComponentTransition.immediate.setTintColor(layer: mirrorLayer, color: customColor)
|
||||
} else {
|
||||
self.layerTintColor = nil
|
||||
}
|
||||
@@ -480,7 +480,7 @@ public final class InlineStickerItemLayer: MultiAnimationRenderTarget {
|
||||
return nullAction
|
||||
}
|
||||
|
||||
public func updateTintColor(contentTintColor: UIColor?, dynamicColor: UIColor?, transition: Transition) {
|
||||
public func updateTintColor(contentTintColor: UIColor?, dynamicColor: UIColor?, transition: ComponentTransition) {
|
||||
self._contentTintColor = contentTintColor
|
||||
self._dynamicColor = dynamicColor
|
||||
|
||||
|
||||
Reference in New Issue
Block a user