File tree Expand file tree Collapse file tree
lib/features/call/widgets Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -63,18 +63,21 @@ class LocalCameraPreviewOverlay extends StatelessWidget {
6363 onTap: isSwitchEnabled ? onSwitchCameraPressed : null ,
6464 child: Stack (
6565 children: [
66- Container (
67- decoration: BoxDecoration (color: onTabGradient.withValues (alpha: 0.3 )),
68- width: frameSize.width,
69- height: frameSize.height,
70- child: frontCamera == null
71- ? null
72- : RTCStreamView (
73- key: callFrontCameraPreviewKey,
74- stream: localStream,
75- mirror: frontCamera! ,
76- placeholderBuilder: localePlaceholderBuilder,
77- ),
66+ ClipRRect (
67+ borderRadius: BorderRadius .circular (8 ),
68+ child: Container (
69+ decoration: BoxDecoration (color: onTabGradient.withValues (alpha: 0.3 )),
70+ width: frameSize.width,
71+ height: frameSize.height,
72+ child: frontCamera == null
73+ ? null
74+ : RTCStreamView (
75+ key: callFrontCameraPreviewKey,
76+ stream: localStream,
77+ mirror: frontCamera! ,
78+ placeholderBuilder: localePlaceholderBuilder,
79+ ),
80+ ),
7881 ),
7982 Positioned (
8083 top: 4 ,
You can’t perform that action at this time.
0 commit comments