Refactoring

This commit is contained in:
Isaac
2024-06-12 23:04:04 +04:00
parent 1b1846dc63
commit 9a075fa39e
360 changed files with 1830 additions and 1713 deletions

View File

@@ -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