fix: highlight level bar button when viewing level analytics
This commit is contained in:
parent
2d74afc83e
commit
e37a1857f3
1 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue