Browse Source

qml: show frozen lightning balance in BalanceDetails only when non-zero

master
Sander van Grieken 2 years ago
parent
commit
ceb42c2a1b
No known key found for this signature in database
GPG Key ID: 9BCF8209EA402EBA
  1. 4
      electrum/gui/qml/components/BalanceDetails.qml

4
electrum/gui/qml/components/BalanceDetails.qml

@ -117,7 +117,7 @@ Pane {
}
RowLayout {
visible: Daemon.currentWallet.isLightning
visible: Daemon.currentWallet.isLightning && !Daemon.currentWallet.lightningBalanceFrozen.isEmpty
Rectangle {
Layout.leftMargin: constants.paddingLarge
Layout.preferredWidth: constants.iconSizeXSmall
@ -129,7 +129,7 @@ Pane {
}
}
FormattedAmount {
visible: Daemon.currentWallet.isLightning
visible: Daemon.currentWallet.isLightning && !Daemon.currentWallet.lightningBalanceFrozen.isEmpty
amount: Daemon.currentWallet.lightningBalanceFrozen
}

Loading…
Cancel
Save