Increase Receive QRCode margin.
Increased the margin of the QR codes shown in the Receive screen, to make it easier for other phones to scan the QRs when the app is in night mode.master
parent
218b5952ac
commit
be205ea765
|
@ -63,7 +63,7 @@ class ReceiveTransactionViewModel(application: Application) : AndroidViewModel(a
|
|||
withContext(Default) {
|
||||
|
||||
val hints = HashMap<EncodeHintType, Any>()
|
||||
hints[EncodeHintType.MARGIN] = 0
|
||||
hints[EncodeHintType.MARGIN] = 1
|
||||
val result = MultiFormatWriter().encode(
|
||||
data,
|
||||
BarcodeFormat.QR_CODE, size, size, hints
|
||||
|
|
Loading…
Reference in New Issue