Fix pointer on MentionChip
This commit is contained in:
parent
20f0ce9fa5
commit
7c1918857a
1 changed files with 11 additions and 9 deletions
|
|
@ -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,
|
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue