qml: add psbt_nostr enable/disable option in Preferences
This commit is contained in:
@@ -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 {
|
RowLayout {
|
||||||
Layout.columnSpan: 2
|
Layout.columnSpan: 2
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
@@ -465,5 +483,6 @@ Pane {
|
|||||||
setMaxBrightnessOnQrDisplay.checked = Config.setMaxBrightnessOnQrDisplay
|
setMaxBrightnessOnQrDisplay.checked = Config.setMaxBrightnessOnQrDisplay
|
||||||
useRecoverableChannels.checked = Config.useRecoverableChannels
|
useRecoverableChannels.checked = Config.useRecoverableChannels
|
||||||
syncLabels.checked = AppController.isPluginEnabled('labels')
|
syncLabels.checked = AppController.isPluginEnabled('labels')
|
||||||
|
psbtNostr.checked = AppController.isPluginEnabled('psbt_nostr')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user