Various improvements

This commit is contained in:
Ilya Laktyushin
2024-11-17 04:11:42 +04:00
parent cc60d82515
commit 7c9f57f266
2 changed files with 2 additions and 2 deletions

View File

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