Merge commit 'a4882d3354b55e39d87d79a359b1caacd212f601'

This commit is contained in:
Isaac 2024-11-19 18:49:39 +04:00
commit 7fb53dbd79
3 changed files with 2 additions and 3 deletions

View File

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

View File

@ -645,7 +645,6 @@ public func parseInternalUrl(sharedContext: SharedAccountContext, query: String)
default: default:
break break
} }
break
} }
} }
} }

View File

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