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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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,