From 62a02ec197c92c2b8e38feee87c8f477d59300fa Mon Sep 17 00:00:00 2001 From: Ilya Laktyushin Date: Fri, 8 Aug 2025 00:39:30 +0400 Subject: [PATCH] Fix --- submodules/GalleryUI/Sources/Items/VideoAdComponent.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/submodules/GalleryUI/Sources/Items/VideoAdComponent.swift b/submodules/GalleryUI/Sources/Items/VideoAdComponent.swift index ea84451943..0f47b793bc 100644 --- a/submodules/GalleryUI/Sources/Items/VideoAdComponent.swift +++ b/submodules/GalleryUI/Sources/Items/VideoAdComponent.swift @@ -156,7 +156,8 @@ final class VideoAdComponent: Component { animationCache: component.context.animationCache, animationRenderer: component.context.animationRenderer, placeholderColor: UIColor.white.withAlphaComponent(0.2), - text: .plain(attributedText) + text: .plain(attributedText), + maximumNumberOfLines: 0 ) ), environment: {},