ignore pointer for reply preview

This commit is contained in:
Henry Hiles 2026-05-20 10:22:09 -04:00
commit 5a9e29be34
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs

View file

@ -150,28 +150,33 @@ class EventRenderer extends ConsumerWidget {
),
)) {
AsyncData(:final value?) ||
AsyncLoading(:final value?) => Row(
spacing: 8,
children: [
MessageAvatar(value, height: 24),
Flexible(
child: MessageDisplayname(
value,
style: TextStyle(
color:
theme.colorScheme.primary,
fontWeight: FontWeight.bold,
AsyncLoading(
:final value?,
) => IgnorePointer(
child: Row(
spacing: 8,
children: [
MessageAvatar(value, height: 24),
Flexible(
child: MessageDisplayname(
value,
style: TextStyle(
color: theme
.colorScheme
.primary,
fontWeight: FontWeight.bold,
),
),
),
),
Expanded(
child: EventRenderer(
value,
textOnly: true,
maxLines: 1,
Expanded(
child: EventRenderer(
value,
textOnly: true,
maxLines: 1,
),
),
),
],
],
),
),
AsyncError _ => Text(
"An error occurred while fetching the reply",