commit 920e1e94fab9d1a39f8e5412bf4677bf9b63ef50
parent 1aec982b27a7b12d51493a393849da4f4bccd10d
Author: SomberNight <somber.night@protonmail.com>
Date: Wed, 3 Mar 2021 17:31:08 +0100
kivy: InvoiceDialog: make LN invoice QR code scannable
Don't show the text and the QR code together, only the QR code:
the text takes up too much space, which make the QR hard to scan.
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/electrum/gui/kivy/uix/dialogs/invoice_dialog.py b/electrum/gui/kivy/uix/dialogs/invoice_dialog.py
@@ -40,7 +40,9 @@ Builder.load_string('''
text: _('Invoice data')+ ':'
RefLabel:
data: root.data
+ text: root.data[:40] + "..."
name: _('Data')
+ show_text_with_qr: False
TopLabel:
text: _('Description') + ':'
RefLabel: