From 5fe6ff3a1f4413fcb9557d19cc75153561818249 Mon Sep 17 00:00:00 2001 From: Sander van Grieken Date: Mon, 2 Jun 2025 13:42:12 +0200 Subject: [PATCH] qml: nostr relay dialog, remove help button, move text into dialog. --- .../gui/qml/components/NostrConfigDialog.qml | 20 ++++++++----------- 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/electrum/gui/qml/components/NostrConfigDialog.qml b/electrum/gui/qml/components/NostrConfigDialog.qml index 3f754fa80..4ce2727f7 100644 --- a/electrum/gui/qml/components/NostrConfigDialog.qml +++ b/electrum/gui/qml/components/NostrConfigDialog.qml @@ -51,19 +51,15 @@ ElDialog { Layout.leftMargin: constants.paddingLarge Layout.rightMargin: constants.paddingLarge - RowLayout { + TextHighlightPane { Layout.fillWidth: true - TextHighlightPane { - Layout.fillWidth: true - Label { - text: qsTr('Enter the list of Nostr relays') - width: parent.width - wrapMode: Text.Wrap - } - } - HelpButton { - heading: Config.shortDescFor('NOSTR_RELAYS') - helptext: Config.longDescFor('NOSTR_RELAYS') + Label { + text: Config.shortDescFor('NOSTR_RELAYS') + '

' + + qsTr('Nostr relays are used to send and receive submarine swap offers.') + + ' ' + qsTr('For multisig wallets, nostr is also used to relay transactions to your co-signers.') + + ' ' + qsTr('Connections to nostr are only made when required, and ephemerally.') + width: parent.width + wrapMode: Text.Wrap } }