mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-17 05:41:29 +02:00
Increase QR version to support longer addresses
This commit is contained in:
@@ -8,7 +8,7 @@ class QrImage extends StatelessWidget {
|
||||
this.size = 100.0,
|
||||
this.backgroundColor,
|
||||
Color foregroundColor = Colors.black,
|
||||
int version = 9, // Previous value: 7 something happened after flutter upgrade monero wallets addresses are longer than ver. 7 ???
|
||||
int version = 13, // Previous value: 9 BTC & LTC wallets addresses are longer than ver. 9
|
||||
int errorCorrectionLevel = QrErrorCorrectLevel.L,
|
||||
}) : _painter = QrPainter(data, foregroundColor, version, errorCorrectionLevel);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user