From bdeb0ea1709de0b85ab303d45bcb06321e4ad8de Mon Sep 17 00:00:00 2001 From: ventywing Date: Fri, 18 Oct 2024 15:52:29 +0300 Subject: [PATCH] Fix for video preview commit_hash:c807fb3d3803c411a05160be19a7599813d27bbd --- .../LayoutKit/UI/Blocks/VideoBlock+UIViewRenderableBlock.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/client/ios/LayoutKit/LayoutKit/UI/Blocks/VideoBlock+UIViewRenderableBlock.swift b/client/ios/LayoutKit/LayoutKit/UI/Blocks/VideoBlock+UIViewRenderableBlock.swift index d208ab52a..f8d09b8ef 100644 --- a/client/ios/LayoutKit/LayoutKit/UI/Blocks/VideoBlock+UIViewRenderableBlock.swift +++ b/client/ios/LayoutKit/LayoutKit/UI/Blocks/VideoBlock+UIViewRenderableBlock.swift @@ -78,6 +78,7 @@ private final class VideoBlockView: BlockView, VisibleBoundsTrackingContainer { forPath: self.model.path ) self.model.resumeActions.perform(sendingFrom: self) + self.preview.isHidden = true case let .durationUpdate(duration): self.model.duration?.value = duration }