name field for participant

This commit is contained in:
Hiroshi Horie
2022-01-02 01:38:54 +07:00
parent 252ee3ed3b
commit 44a42eafea
5 changed files with 15 additions and 2 deletions
+3 -1
View File
@@ -126,7 +126,9 @@ abstract class _ParticipantWidgetState<T extends ParticipantWidget>
children: [
...extraWidgets(),
ParticipantInfoWidget(
title: widget.participant.identity,
title: widget.participant.name.isNotEmpty
? '${widget.participant.name} (${widget.participant.identity})'
: widget.participant.identity,
audioAvailable: firstAudioPublication?.muted == false &&
firstAudioPublication?.subscribed == true,
connectionQuality: widget.participant.connectionQuality,