diff --git a/assets/images/qr-cake.png b/assets/images/qr-cake.png new file mode 100644 index 000000000..7c54dedb0 Binary files /dev/null and b/assets/images/qr-cake.png differ diff --git a/lib/src/screens/receive/widgets/qr_image.dart b/lib/src/screens/receive/widgets/qr_image.dart index 043958ef4..51c0c7431 100644 --- a/lib/src/screens/receive/widgets/qr_image.dart +++ b/lib/src/screens/receive/widgets/qr_image.dart @@ -1,3 +1,4 @@ +import 'package:cake_wallet/wallet_type_utils.dart'; import 'package:flutter/material.dart'; import 'package:qr_flutter/qr_flutter.dart' as qr; @@ -8,7 +9,7 @@ class QrImage extends StatelessWidget { this.backgroundColor = Colors.white, this.size = 100.0, this.version, - this.errorCorrectionLevel = qr.QrErrorCorrectLevel.L, + this.errorCorrectionLevel = qr.QrErrorCorrectLevel.H, }); final double size; @@ -28,6 +29,7 @@ class QrImage extends StatelessWidget { foregroundColor: foregroundColor, backgroundColor: backgroundColor, padding: const EdgeInsets.all(8.0), + embeddedImage: AssetImage('assets/images/qr-cake.png'), ); } }