Add filtering by ban type to member list
This commit is contained in:
parent
fa8b8ddd14
commit
20f0ce9fa5
3 changed files with 46 additions and 11 deletions
|
|
@ -116,9 +116,25 @@ class UserPopover extends ConsumerWidget {
|
|||
for (final pronoun in profile.pronouns.where(
|
||||
(pronoun) => pronoun.language == "en",
|
||||
))
|
||||
Chip(label: Text(pronoun.summary)),
|
||||
Chip(
|
||||
label: Text(pronoun.summary),
|
||||
labelStyle: TextStyle(
|
||||
color: theme.colorScheme.onPrimary,
|
||||
),
|
||||
color: WidgetStatePropertyAll(
|
||||
theme.colorScheme.primary,
|
||||
),
|
||||
),
|
||||
if (profile.timezone != null)
|
||||
Chip(label: Text(profile.timezone!)),
|
||||
Chip(
|
||||
label: Text(profile.timezone!),
|
||||
labelStyle: TextStyle(
|
||||
color: theme.colorScheme.onPrimary,
|
||||
),
|
||||
color: WidgetStatePropertyAll(
|
||||
theme.colorScheme.primary,
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue