From 920e1e94fab9d1a39f8e5412bf4677bf9b63ef50 Mon Sep 17 00:00:00 2001 From: SomberNight Date: Wed, 3 Mar 2021 17:31:08 +0100 Subject: [PATCH] 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. --- electrum/gui/kivy/uix/dialogs/invoice_dialog.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/electrum/gui/kivy/uix/dialogs/invoice_dialog.py b/electrum/gui/kivy/uix/dialogs/invoice_dialog.py index ed5c741ea..dcb28c87c 100644 --- 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: