Add filtering by ban type to member list

This commit is contained in:
Henry Hiles 2026-04-04 13:33:24 -04:00
commit 20f0ce9fa5
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs
3 changed files with 46 additions and 11 deletions

View file

@ -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,
),
),
],
),
),