mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-02 12:48:45 +00:00
Merge commit 'a4882d3354b55e39d87d79a359b1caacd212f601'
This commit is contained in:
commit
7fb53dbd79
@ -335,7 +335,7 @@ private final class GiftViewSheetContent: CombinedComponent {
|
|||||||
component.openStarsIntro()
|
component.openStarsIntro()
|
||||||
}
|
}
|
||||||
),
|
),
|
||||||
availableSize: CGSize(width: context.availableSize.width - sideInset * 2.0 - 60.0, height: CGFloat.greatestFiniteMagnitude),
|
availableSize: CGSize(width: context.availableSize.width - sideInset * 2.0 - 50.0, height: CGFloat.greatestFiniteMagnitude),
|
||||||
transition: .immediate
|
transition: .immediate
|
||||||
)
|
)
|
||||||
context.add(description
|
context.add(description
|
||||||
|
|||||||
@ -645,7 +645,6 @@ public func parseInternalUrl(sharedContext: SharedAccountContext, query: String)
|
|||||||
default:
|
default:
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
break
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -205,7 +205,7 @@ final class FullscreenControlsComponent: Component {
|
|||||||
|
|
||||||
let buttonTitleUpdated = (previousComponent?.hasBack ?? false) != component.hasBack
|
let buttonTitleUpdated = (previousComponent?.hasBack ?? false) != component.hasBack
|
||||||
let animationMultiplier = !component.hasBack ? -1.0 : 1.0
|
let animationMultiplier = !component.hasBack ? -1.0 : 1.0
|
||||||
if buttonTitleUpdated {
|
if buttonTitleUpdated && !self.displayTitle {
|
||||||
isAnimatingTextTransition = true
|
isAnimatingTextTransition = true
|
||||||
|
|
||||||
if let view = self.buttonTitle.view, let snapshotView = view.snapshotView(afterScreenUpdates: false) {
|
if let view = self.buttonTitle.view, let snapshotView = view.snapshotView(afterScreenUpdates: false) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user