fix: highlight level bar button when viewing level analytics

This commit is contained in:
ggurdin 2026-01-16 10:04:52 -05:00
parent 2d74afc83e
commit e37a1857f3
No known key found for this signature in database
GPG key ID: A01CB41737CBB478

View file

@ -175,7 +175,9 @@ class LearningProgressIndicators extends StatelessWidget {
builder: (context, hovered) {
return Container(
decoration: BoxDecoration(
color: hovered && canSelect
color: (hovered && canSelect) ||
(selected ==
ProgressIndicatorEnum.level)
? Theme.of(context)
.colorScheme
.primary