🐛 Bug fixes of fixed avatar
This commit is contained in:
parent
7fb94eeafa
commit
5d79692766
@ -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: () {
|
||||
|
@ -42,7 +42,7 @@ class _NoContentWidgetState extends State<NoContentWidget> 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,
|
||||
|
Loading…
Reference in New Issue
Block a user