Skip to content

Commit

Permalink
feat: Camera Visor: force icons to always be white (#4340)
Browse files Browse the repository at this point in the history
  • Loading branch information
g123k authored Jul 20, 2023
1 parent 4c0d0a4 commit 46b6faa
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/scanner/shared/lib/src/scanner_visor.dart
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,10 @@ class VisorButton extends StatelessWidget {
enableFeedback: true,
child: Padding(
padding: const EdgeInsets.all(12.0),
child: child,
child: IconTheme(
data: const IconThemeData(color: Colors.white),
child: child,
),
),
),
),
Expand Down

0 comments on commit 46b6faa

Please sign in to comment.