From 33101fd9fd6f7652b5892d775c8a3eebd0905bda Mon Sep 17 00:00:00 2001 From: Edouard Marquez Date: Mon, 30 Dec 2024 08:11:30 +0100 Subject: [PATCH] Force the color of the Scan buttons (#6084) --- packages/smooth_app/lib/pages/scan/scan_header.dart | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/smooth_app/lib/pages/scan/scan_header.dart b/packages/smooth_app/lib/pages/scan/scan_header.dart index cf84cb82a7b5..7cbdf6c126a7 100644 --- a/packages/smooth_app/lib/pages/scan/scan_header.dart +++ b/packages/smooth_app/lib/pages/scan/scan_header.dart @@ -30,6 +30,9 @@ class _ScanHeaderState extends State { borderRadius: BorderRadius.all(Radius.circular(18.0)), ), ), + iconColor: WidgetStateProperty.all( + Theme.of(context).colorScheme.onPrimary, + ), foregroundColor: WidgetStateProperty.all( Theme.of(context).colorScheme.onPrimary, ),