1
0

qml: add psbt_nostr enable/disable option in Preferences

This commit is contained in:
Sander van Grieken
2025-05-16 14:00:23 +02:00
parent 9f9919e351
commit 9a2a65c20f

View File

@@ -231,6 +231,24 @@ Pane {
}
}
RowLayout {
Layout.columnSpan: 2
Layout.fillWidth: true
spacing: 0
Switch {
id: psbtNostr
onCheckedChanged: {
if (activeFocus)
AppController.setPluginEnabled('psbt_nostr', checked)
}
}
Label {
Layout.fillWidth: true
text: qsTr('Nostr Cosigner')
wrapMode: Text.Wrap
}
}
RowLayout {
Layout.columnSpan: 2
Layout.fillWidth: true
@@ -465,5 +483,6 @@ Pane {
setMaxBrightnessOnQrDisplay.checked = Config.setMaxBrightnessOnQrDisplay
useRecoverableChannels.checked = Config.useRecoverableChannels
syncLabels.checked = AppController.isPluginEnabled('labels')
psbtNostr.checked = AppController.isPluginEnabled('psbt_nostr')
}
}