1
0

qml: nostr relay dialog, remove help button, move text into dialog.

This commit is contained in:
Sander van Grieken
2025-06-02 13:42:12 +02:00
parent b5170a3fa6
commit 5fe6ff3a1f

View File

@@ -51,19 +51,15 @@ ElDialog {
Layout.leftMargin: constants.paddingLarge Layout.leftMargin: constants.paddingLarge
Layout.rightMargin: constants.paddingLarge Layout.rightMargin: constants.paddingLarge
RowLayout { TextHighlightPane {
Layout.fillWidth: true Layout.fillWidth: true
TextHighlightPane { Label {
Layout.fillWidth: true text: Config.shortDescFor('NOSTR_RELAYS') + '<br/><br/>' +
Label { qsTr('Nostr relays are used to send and receive submarine swap offers.') +
text: qsTr('Enter the list of Nostr relays') ' ' + qsTr('For multisig wallets, nostr is also used to relay transactions to your co-signers.') +
width: parent.width ' ' + qsTr('Connections to nostr are only made when required, and ephemerally.')
wrapMode: Text.Wrap width: parent.width
} wrapMode: Text.Wrap
}
HelpButton {
heading: Config.shortDescFor('NOSTR_RELAYS')
helptext: Config.longDescFor('NOSTR_RELAYS')
} }
} }