diff --git a/lib/screens/chat/call.dart b/lib/screens/chat/call.dart index be44d31..c6e9092 100644 --- a/lib/screens/chat/call.dart +++ b/lib/screens/chat/call.dart @@ -142,7 +142,7 @@ class InteractiveParticipantWidget extends StatelessWidget { final double? width; final double? height; final Color? color; - final bool? isFixed; + final bool isFixed; final ParticipantTrack participant; final Function() onTap; @@ -163,7 +163,7 @@ class InteractiveParticipantWidget extends StatelessWidget { width: width, height: height, color: color, - child: ParticipantWidget.widgetFor(participant, isFixed: true), + child: ParticipantWidget.widgetFor(participant, isFixed: isFixed), ), onTap: () => onTap(), onLongPress: () { diff --git a/lib/widgets/chat/call/no_content.dart b/lib/widgets/chat/call/no_content.dart index 4f1fee5..040fe59 100644 --- a/lib/widgets/chat/call/no_content.dart +++ b/lib/widgets/chat/call/no_content.dart @@ -42,7 +42,7 @@ class _NoContentWidgetState extends State with SingleTickerProv @override Widget build(BuildContext context) { final double radius = widget.isFixed - ? 16 + ? 32 : math.min( MediaQuery.of(context).size.width * 0.1, MediaQuery.of(context).size.height * 0.1,