fix: Darktheme contrast fixes with primary color

This commit is contained in:
krille-chan 2023-12-26 14:02:07 +01:00
commit 89540ec7ef
No known key found for this signature in database
9 changed files with 16 additions and 13 deletions

View file

@ -45,7 +45,7 @@ class QrScannerModalState extends State<QrScannerModal> {
key: qrKey,
onQRViewCreated: _onQRViewCreated,
overlay: QrScannerOverlayShape(
borderColor: Theme.of(context).primaryColor,
borderColor: Theme.of(context).colorScheme.primary,
borderRadius: 10,
borderLength: 30,
borderWidth: 8,