parent
f35f715b81
commit
3fc33a5ac9
1 changed files with 1236 additions and 55 deletions
|
|
@ -173,9 +173,13 @@ extension BuildEventOptions on Event {
|
|||
),
|
||||
),
|
||||
|
||||
if (content is MessageContent &&
|
||||
content is! LocationMessageContent &&
|
||||
sender == userId)
|
||||
if (sender == userId &&
|
||||
switch (content) {
|
||||
LocationMessageContent() ||
|
||||
TextMessageContent(botCommand: _?) => false,
|
||||
MessageContent() => true,
|
||||
_ => false,
|
||||
})
|
||||
PopupMenuItem(
|
||||
onTap: () => onRelation(rowId, .edit),
|
||||
child: const ListTile(leading: Icon(Icons.edit), title: Text("Edit")),
|
||||
|
|
|
|||
Loading…
Reference in a new issue