fix fallback for null displayName in mention chip
This commit is contained in:
parent
0a9b71230b
commit
0c61623a94
1 changed files with 3 additions and 1 deletions
|
|
@ -36,7 +36,9 @@ class MentionChip extends ConsumerWidget {
|
|||
child: IgnorePointer(
|
||||
child: Chip(
|
||||
label: Text(
|
||||
(membership == null ? null : "@${membership.displayName}") ??
|
||||
(membership?.displayName == null
|
||||
? null
|
||||
: "@${membership!.displayName}") ??
|
||||
mention,
|
||||
style: .new(
|
||||
fontWeight: .bold,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue