chore: Follow up message context action

pull/757/head
krille-chan 1 year ago
parent 45c6569872
commit 43f304b1a8
No known key found for this signature in database

@ -486,17 +486,17 @@ class Message extends StatelessWidget {
tooltip: L10n.of(context)!.select,
onPressed: () => onSelect(event),
),
if (hovered) ...[
if (event.room.canSendDefaultMessages)
IconButton(
icon: const Icon(
Icons.reply_outlined,
size: 16,
),
tooltip: L10n.of(context)!.reply,
onPressed: () => onSwipe(),
if (hovered &&
event.room.canSendDefaultMessages &&
event.status.isSent)
IconButton(
icon: const Icon(
Icons.reply_outlined,
size: 16,
),
],
tooltip: L10n.of(context)!.reply,
onPressed: () => onSwipe(),
),
],
),
),

Loading…
Cancel
Save