Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios

This commit is contained in:
Ilya Laktyushin
2024-06-15 18:51:57 +04:00
400 changed files with 2718 additions and 2409 deletions

View File

@@ -306,7 +306,7 @@ public final class StarsImageComponent: Component {
self.fetchDisposable.dispose()
}
func update(component: StarsImageComponent, availableSize: CGSize, transition: Transition) -> CGSize {
func update(component: StarsImageComponent, availableSize: CGSize, transition: ComponentTransition) -> CGSize {
self.component = component
let smallParticlesView: StarsParticlesView
@@ -487,7 +487,7 @@ public final class StarsImageComponent: Component {
return View(frame: CGRect())
}
public func update(view: View, availableSize: CGSize, state: EmptyComponentState, environment: Environment<Empty>, transition: Transition) -> CGSize {
public func update(view: View, availableSize: CGSize, state: EmptyComponentState, environment: Environment<Empty>, transition: ComponentTransition) -> CGSize {
return view.update(component: self, availableSize: availableSize, transition: transition)
}
}