Increase QR code margin in receive screen.
- Increased the margin of the QR codes generated in the Receive Transaction screen, so that they are easier to read using low end devices, specially when the app is in night mode.
This commit is contained in:
parent
28113af98a
commit
710ba72875
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ class ReceiveTransactionViewModel(application: Application) : AndroidViewModel(a
|
||||||
withContext(Default) {
|
withContext(Default) {
|
||||||
|
|
||||||
val hints = HashMap<EncodeHintType, Any>()
|
val hints = HashMap<EncodeHintType, Any>()
|
||||||
hints[EncodeHintType.MARGIN] = 1
|
hints[EncodeHintType.MARGIN] = 2
|
||||||
val result = MultiFormatWriter().encode(
|
val result = MultiFormatWriter().encode(
|
||||||
data,
|
data,
|
||||||
BarcodeFormat.QR_CODE, size, size, hints
|
BarcodeFormat.QR_CODE, size, size, hints
|
||||||
|
|
Loading…
Reference in a new issue