From 5a64d62b248cea8edcf1f36ef2262679505a18a7 Mon Sep 17 00:00:00 2001 From: Sander van Grieken <sander@outrightsolutions.nl> Date: Fri, 30 Sep 2022 14:48:24 +0200 Subject: [PATCH] qml: lnurl comment only when allowed by server --- electrum/gui/qml/components/LnurlPayRequestDialog.qml | 1 + 1 file changed, 1 insertion(+) diff --git a/electrum/gui/qml/components/LnurlPayRequestDialog.qml b/electrum/gui/qml/components/LnurlPayRequestDialog.qml index 01bda04ba..0721abb70 100644 --- a/electrum/gui/qml/components/LnurlPayRequestDialog.qml +++ b/electrum/gui/qml/components/LnurlPayRequestDialog.qml @@ -60,6 +60,7 @@ ElDialog { TextArea { id: comment + visible: invoiceParser.lnurlData['comment_allowed'] > 0 Layout.columnSpan: 2 Layout.preferredWidth: parent.width Layout.minimumHeight: 80