fix(ui): Progress bar used the same shade of gray regardless of user preferences

This commit is contained in:
Inex Code 2024-08-14 05:38:50 +03:00
parent 7be2826a0f
commit 55616c3e69

View file

@ -27,7 +27,7 @@ class _ProgressBarState extends State<ProgressBar> {
Container(
alignment: Alignment.centerLeft,
decoration: BoxDecoration(
color: const Color(0xFFDDDDDD),
color: Theme.of(context).colorScheme.surfaceVariant,
borderRadius: BorderRadius.circular(5),
),
child: LayoutBuilder(