Fix pointer on MentionChip

This commit is contained in:
Henry Hiles 2026-04-04 13:37:07 -04:00
commit 7c1918857a
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs

View file

@ -27,17 +27,19 @@ class MentionChip extends ConsumerWidget {
); );
} }
}, },
child: Chip( child: IgnorePointer(
label: Text( child: Chip(
(membership == null ? null : "@${membership.displayName}") ?? label: Text(
mention ?? (membership == null ? null : "@${membership.displayName}") ??
label, mention ??
style: TextStyle( label,
fontWeight: FontWeight.bold, style: TextStyle(
color: Theme.of(context).colorScheme.onPrimary, fontWeight: FontWeight.bold,
color: Theme.of(context).colorScheme.onPrimary,
),
), ),
backgroundColor: Theme.of(context).colorScheme.primary,
), ),
backgroundColor: Theme.of(context).colorScheme.primary,
), ),
); );
} }