diff --git a/lib/screens/channel/channel.dart b/lib/screens/channel/channel.dart index b8e6ad32..f0a75617 100644 --- a/lib/screens/channel/channel.dart +++ b/lib/screens/channel/channel.dart @@ -371,20 +371,22 @@ class _VideoChatState extends State return Stack( children: [ player, - AnimatedOpacity( - opacity: _videoStore.loading ? 1.0 : 0.0, - duration: const Duration(milliseconds: 300), - curve: Curves.easeOut, - child: const IgnorePointer( - child: ColoredBox( - color: Colors.black, - child: Center( - child: SizedBox( - width: 24, - height: 24, - child: CircularProgressIndicator( - color: Colors.white38, - strokeWidth: 2, + Positioned.fill( + child: AnimatedOpacity( + opacity: _videoStore.loading ? 1.0 : 0.0, + duration: const Duration(milliseconds: 300), + curve: Curves.easeOut, + child: const IgnorePointer( + child: ColoredBox( + color: Colors.black, + child: Center( + child: SizedBox( + width: 24, + height: 24, + child: CircularProgressIndicator( + color: Colors.white38, + strokeWidth: 2, + ), ), ), ),