qml: expose use_recoverable_channels in config/preferences
This commit is contained in:
@@ -148,6 +148,16 @@ Pane {
|
||||
}
|
||||
}
|
||||
|
||||
Switch {
|
||||
id: useRbf
|
||||
text: qsTr('Use Replace-By-Fee')
|
||||
Layout.columnSpan: 2
|
||||
onCheckedChanged: {
|
||||
if (activeFocus)
|
||||
Config.useRbf = checked
|
||||
}
|
||||
}
|
||||
|
||||
Label {
|
||||
text: qsTr('Default request expiry')
|
||||
Layout.fillWidth: false
|
||||
@@ -223,6 +233,16 @@ Pane {
|
||||
}
|
||||
}
|
||||
|
||||
Switch {
|
||||
id: useRecoverableChannels
|
||||
text: qsTr('Create recoverable channels')
|
||||
Layout.columnSpan: 2
|
||||
onCheckedChanged: {
|
||||
if (activeFocus)
|
||||
Config.useRecoverableChannels = checked
|
||||
}
|
||||
}
|
||||
|
||||
Switch {
|
||||
id: useFallbackAddress
|
||||
text: qsTr('Use onchain fallback address for Lightning invoices')
|
||||
@@ -233,16 +253,6 @@ Pane {
|
||||
}
|
||||
}
|
||||
|
||||
Switch {
|
||||
id: useRbf
|
||||
text: qsTr('Use Replace-By-Fee')
|
||||
Layout.columnSpan: 2
|
||||
onCheckedChanged: {
|
||||
if (activeFocus)
|
||||
Config.useRbf = checked
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user