add errorBuilder to reactions
This commit is contained in:
parent
254b7e134f
commit
72c5e7d819
1 changed files with 6 additions and 0 deletions
|
|
@ -53,6 +53,12 @@ class const ReactionRow(final Event event, {super.key}) extends ConsumerWidget {
|
|||
ref,
|
||||
.new(mxc: Uri.parse(reaction)),
|
||||
),
|
||||
errorBuilder: (context, _, _) => Icon(
|
||||
Icons.broken_image,
|
||||
color: Theme.of(context)
|
||||
.colorScheme
|
||||
.error,
|
||||
),
|
||||
)
|
||||
: Text(reaction, overflow: .ellipsis),
|
||||
),
|
||||
|
|
|
|||
Loading…
Reference in a new issue