1
0

qml: add lightning network status indicator in top bar, add channel peers to NetworkOverview

This commit is contained in:
Sander van Grieken
2023-01-13 12:35:50 +01:00
parent c94d3529f5
commit ddfe1a6d70
4 changed files with 34 additions and 2 deletions

View File

@@ -173,6 +173,15 @@ Pane {
visible: !Config.useGossip
}
Label {
visible: Daemon.currentWallet.isLightning
text: qsTr('Channel peers:');
color: Material.accentColor
}
Label {
visible: Daemon.currentWallet.isLightning
text: Daemon.currentWallet.lightningNumPeers
}
}
}