mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
Refactoring
This commit is contained in:
@@ -1192,7 +1192,7 @@ public final class AvatarNode: ASDisplayNode {
|
||||
self.contentNode.setCustomLetters(letters, explicitColor: explicitColor, icon: icon)
|
||||
}
|
||||
|
||||
public func setStoryStats(storyStats: StoryStats?, presentationParams: StoryPresentationParams, transition: Transition) {
|
||||
public func setStoryStats(storyStats: StoryStats?, presentationParams: StoryPresentationParams, transition: ComponentTransition) {
|
||||
if self.storyStats != storyStats || self.storyPresentationParams != presentationParams {
|
||||
self.storyStats = storyStats
|
||||
self.storyPresentationParams = presentationParams
|
||||
@@ -1242,7 +1242,7 @@ public final class AvatarNode: ASDisplayNode {
|
||||
}
|
||||
}
|
||||
|
||||
private func updateStoryIndicator(transition: Transition) {
|
||||
private func updateStoryIndicator(transition: ComponentTransition) {
|
||||
if !self.isNodeLoaded {
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user