diff --git a/submodules/TelegramUI/Components/Gifts/GiftViewScreen/Sources/GiftViewScreen.swift b/submodules/TelegramUI/Components/Gifts/GiftViewScreen/Sources/GiftViewScreen.swift index e743cf3175..54ef391e71 100644 --- a/submodules/TelegramUI/Components/Gifts/GiftViewScreen/Sources/GiftViewScreen.swift +++ b/submodules/TelegramUI/Components/Gifts/GiftViewScreen/Sources/GiftViewScreen.swift @@ -335,7 +335,7 @@ private final class GiftViewSheetContent: CombinedComponent { 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 ) context.add(description diff --git a/submodules/WebUI/Sources/FullscreenControlsComponent.swift b/submodules/WebUI/Sources/FullscreenControlsComponent.swift index a055b51e1d..e7a693b4b9 100644 --- a/submodules/WebUI/Sources/FullscreenControlsComponent.swift +++ b/submodules/WebUI/Sources/FullscreenControlsComponent.swift @@ -205,7 +205,7 @@ final class FullscreenControlsComponent: Component { let buttonTitleUpdated = (previousComponent?.hasBack ?? false) != component.hasBack let animationMultiplier = !component.hasBack ? -1.0 : 1.0 - if buttonTitleUpdated { + if buttonTitleUpdated && !self.displayTitle { isAnimatingTextTransition = true if let view = self.buttonTitle.view, let snapshotView = view.snapshotView(afterScreenUpdates: false) {