mirror of
https://github.com/krille-chan/fluffychat
synced 2024-09-17 08:15:09 +00:00
chore: Follow up message context action
This commit is contained in:
parent
45c6569872
commit
43f304b1a8
1 changed files with 10 additions and 10 deletions
|
@ -486,17 +486,17 @@ class Message extends StatelessWidget {
|
||||||
tooltip: L10n.of(context)!.select,
|
tooltip: L10n.of(context)!.select,
|
||||||
onPressed: () => onSelect(event),
|
onPressed: () => onSelect(event),
|
||||||
),
|
),
|
||||||
if (hovered) ...[
|
if (hovered &&
|
||||||
if (event.room.canSendDefaultMessages)
|
event.room.canSendDefaultMessages &&
|
||||||
IconButton(
|
event.status.isSent)
|
||||||
icon: const Icon(
|
IconButton(
|
||||||
Icons.reply_outlined,
|
icon: const Icon(
|
||||||
size: 16,
|
Icons.reply_outlined,
|
||||||
),
|
size: 16,
|
||||||
tooltip: L10n.of(context)!.reply,
|
|
||||||
onPressed: () => onSwipe(),
|
|
||||||
),
|
),
|
||||||
],
|
tooltip: L10n.of(context)!.reply,
|
||||||
|
onPressed: () => onSwipe(),
|
||||||
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in a new issue