Skip to content

Commit

Permalink
Force the color of the Scan buttons (#6084)
Browse files Browse the repository at this point in the history
  • Loading branch information
g123k authored Dec 30, 2024
1 parent f53938c commit 33101fd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/smooth_app/lib/pages/scan/scan_header.dart
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ class _ScanHeaderState extends State<ScanHeader> {
borderRadius: BorderRadius.all(Radius.circular(18.0)),
),
),
iconColor: WidgetStateProperty.all<Color>(
Theme.of(context).colorScheme.onPrimary,
),
foregroundColor: WidgetStateProperty.all<Color>(
Theme.of(context).colorScheme.onPrimary,
),
Expand Down

0 comments on commit 33101fd

Please sign in to comment.