Skip to content

Commit

Permalink
fix QR code view. (#231)
Browse files Browse the repository at this point in the history
  • Loading branch information
Livinglist authored Jun 23, 2023
1 parent 2960c6e commit ec065c0
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions lib/screens/profile/qr_code_view_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,20 @@ class QrCodeViewScreen extends StatelessWidget {
body: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: <Widget>[
QrImageView(
data: data,
dataModuleStyle: QrDataModuleStyle(
dataModuleShape: QrDataModuleShape.square,
color: Theme.of(context).colorScheme.onSurface,
Center(
child: QrImageView(
data: data,
dataModuleStyle: QrDataModuleStyle(
dataModuleShape: QrDataModuleShape.square,
color: Theme.of(context).colorScheme.onSurface,
),
eyeStyle: QrEyeStyle(
eyeShape: QrEyeShape.square,
color: Theme.of(context).colorScheme.onSurface,
),
version: qrCodeVersion,
size: 300,
),
eyeStyle: QrEyeStyle(
eyeShape: QrEyeShape.square,
color: Theme.of(context).colorScheme.onSurface,
),
version: qrCodeVersion,
),
],
),
Expand Down

0 comments on commit ec065c0

Please sign in to comment.