diff --git a/lib/main.dart b/lib/main.dart index 78a42800..521a55e4 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -48,13 +48,7 @@ class _MyAppState extends State { localizationsDelegates: sl().localizationDelegates, supportedLocales: sl().supportedLocales, builder: (context, child) { - return Stack( - clipBehavior: Clip.none, - children: [ - if (child != null) child, - const VideoCallGlobalPipLayer(), - ], - ); + return Stack(clipBehavior: Clip.none, children: [(child ?? const SizedBox.shrink()), const VideoCallGlobalPipLayer()]); }, ), ),