qml: show backup type, as in qt
This commit is contained in:
@@ -97,6 +97,21 @@ Pane {
|
||||
text: channeldetails.channelType
|
||||
}
|
||||
|
||||
Label {
|
||||
visible: channeldetails.isBackup
|
||||
text: qsTr('Backup type')
|
||||
color: Material.accentColor
|
||||
}
|
||||
|
||||
Label {
|
||||
visible: channeldetails.isBackup
|
||||
text: channeldetails.backupType == 'imported'
|
||||
? qsTr('imported')
|
||||
: channeldetails.backupType == 'on-chain'
|
||||
? qsTr('on-chain')
|
||||
: '?'
|
||||
}
|
||||
|
||||
Label {
|
||||
text: qsTr('Remote node ID')
|
||||
Layout.columnSpan: 2
|
||||
|
||||
Reference in New Issue
Block a user