add a little padding to send errors

This commit is contained in:
Henry Hiles 2026-07-29 16:18:07 -04:00
commit 9831446c66
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs

View file

@ -216,10 +216,13 @@ class EventRenderer extends HookConsumerWidget {
if (event.content is! MessageContent) ReactionRow(event),
if (event.sendError != null && event.sendError != "not sent")
Text(
event.sendError!,
style: theme.textTheme.labelSmall?.copyWith(
color: theme.colorScheme.error,
Padding(
padding: .only(bottom: 4),
child: Text(
event.sendError!,
style: theme.textTheme.labelSmall?.copyWith(
color: theme.colorScheme.error,
),
),
),
].map((child) => Padding(padding: .only(left: 4), child: child)),