forked from Nexus/nexus
add a little padding to send errors
This commit is contained in:
parent
d7f49568a7
commit
9831446c66
1 changed files with 7 additions and 4 deletions
|
|
@ -216,10 +216,13 @@ class EventRenderer extends HookConsumerWidget {
|
||||||
if (event.content is! MessageContent) ReactionRow(event),
|
if (event.content is! MessageContent) ReactionRow(event),
|
||||||
|
|
||||||
if (event.sendError != null && event.sendError != "not sent")
|
if (event.sendError != null && event.sendError != "not sent")
|
||||||
Text(
|
Padding(
|
||||||
event.sendError!,
|
padding: .only(bottom: 4),
|
||||||
style: theme.textTheme.labelSmall?.copyWith(
|
child: Text(
|
||||||
color: theme.colorScheme.error,
|
event.sendError!,
|
||||||
|
style: theme.textTheme.labelSmall?.copyWith(
|
||||||
|
color: theme.colorScheme.error,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
].map((child) => Padding(padding: .only(left: 4), child: child)),
|
].map((child) => Padding(padding: .only(left: 4), child: child)),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue