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,7 +150,10 @@ class EventRenderer extends ConsumerWidget {
),
)) {
AsyncData(:final value?) ||
AsyncLoading(:final value?) => Row(
AsyncLoading(
:final value?,
) => IgnorePointer(
child: Row(
spacing: 8,
children: [
MessageAvatar(value, height: 24),
@ -158,8 +161,9 @@ class EventRenderer extends ConsumerWidget {
child: MessageDisplayname(
value,
style: TextStyle(
color:
theme.colorScheme.primary,
color: theme
.colorScheme
.primary,
fontWeight: FontWeight.bold,
),
),
@ -173,6 +177,7 @@ class EventRenderer extends ConsumerWidget {
),
],
),
),
AsyncError _ => Text(
"An error occurred while fetching the reply",
style: errorStyle,