diff --git a/electrum/gui/qml/components/Preferences.qml b/electrum/gui/qml/components/Preferences.qml index c77f812f7..0d34f7036 100644 --- a/electrum/gui/qml/components/Preferences.qml +++ b/electrum/gui/qml/components/Preferences.qml @@ -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') } }