fix(mobile): hide video thumbnail when video is ready (#29012)

This commit is contained in:
Santo Shakil
2026-06-27 09:20:40 +06:00
committed by GitHub
parent 09d4a6815f
commit 6e1143e799

View File

@@ -260,7 +260,7 @@ class _NativeVideoViewerState extends ConsumerState<NativeVideoViewer> with Widg
return IgnorePointer(
child: Stack(
children: [
Center(child: widget.image),
if (!_isVideoReady || widget.asset.isMotionPhoto || isCasting) Center(child: widget.image),
if (!isCasting) ...[
Visibility.maintain(
visible: _isVideoReady,