fix(learn): a chosen chip keeps its icon
The check Material draws on a chosen chip covered the icon of the rest day's chip and of the card browser's status chips, as in Meditate. Their colour says they are chosen, as in Explore's. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
This commit is contained in:
parent
f10236b186
commit
34a693f365
2 changed files with 2 additions and 0 deletions
|
|
@ -120,6 +120,7 @@ class _FilterSheetState() extends State<_FilterSheet> {
|
||||||
children: [
|
children: [
|
||||||
for (final status in CardStatus.values)
|
for (final status in CardStatus.values)
|
||||||
FilterChip(
|
FilterChip(
|
||||||
|
showCheckmark: false,
|
||||||
avatar: switch (status) {
|
avatar: switch (status) {
|
||||||
CardStatus.reported => const Icon(
|
CardStatus.reported => const Icon(
|
||||||
LucideIcons.flag,
|
LucideIcons.flag,
|
||||||
|
|
|
||||||
|
|
@ -72,6 +72,7 @@ class const WeekOverview({
|
||||||
Padding(
|
Padding(
|
||||||
padding: const EdgeInsets.only(left: 8, right: 4),
|
padding: const EdgeInsets.only(left: 8, right: 4),
|
||||||
child: FilterChip(
|
child: FilterChip(
|
||||||
|
showCheckmark: false,
|
||||||
avatar: const Icon(LucideIcons.snowflake, size: 16),
|
avatar: const Icon(LucideIcons.snowflake, size: 16),
|
||||||
label: Text(l10n.weekRestDay),
|
label: Text(l10n.weekRestDay),
|
||||||
selected: resting,
|
selected: resting,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue