Merge branch 'main' into get-started-readability
This commit is contained in:
commit
38bd6ec586
1 changed files with 14 additions and 13 deletions
|
|
@ -90,20 +90,21 @@ void showMemberActionsPopupMenu({
|
|||
),
|
||||
const PopupMenuDivider(),
|
||||
// #Pangea
|
||||
PopupMenuItem(
|
||||
value: _MemberActions.chat,
|
||||
child: Row(
|
||||
children: [
|
||||
const Icon(Icons.forum_outlined),
|
||||
const SizedBox(width: 18),
|
||||
Text(
|
||||
dmRoomId == null
|
||||
? L10n.of(context).startConversation
|
||||
: L10n.of(context).sendAMessage,
|
||||
),
|
||||
],
|
||||
if (user.room.client.userID != user.id)
|
||||
PopupMenuItem(
|
||||
value: _MemberActions.chat,
|
||||
child: Row(
|
||||
children: [
|
||||
const Icon(Icons.forum_outlined),
|
||||
const SizedBox(width: 18),
|
||||
Text(
|
||||
dmRoomId == null
|
||||
? L10n.of(context).startConversation
|
||||
: L10n.of(context).sendAMessage,
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
// Pangea#
|
||||
if (onMention != null)
|
||||
PopupMenuItem(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue