1
0

qml: rename walletdetails to walletsummary

This commit is contained in:
Sander van Grieken
2022-10-31 17:25:30 +01:00
parent 00e1d1786c
commit 3f9df0517a
2 changed files with 3 additions and 5 deletions

View File

@@ -173,11 +173,9 @@ Item {
id: piechart
visible: Daemon.currentWallet.totalBalance.satsInt > 0
Layout.preferredWidth: parent.width
// Layout.preferredHeight: 200
implicitHeight: 200
innerOffset: 6
function updateSlices() {
console.log('update piechart, w='+width+',h='+height)
var totalB = Daemon.currentWallet.totalBalance.satsInt
var onchainB = Daemon.currentWallet.confirmedBalance.satsInt
var frozenB = Daemon.currentWallet.frozenBalance.satsInt

View File

@@ -62,7 +62,7 @@ ApplicationWindow
font.bold: true
MouseArea {
anchors.fill: parent
onClicked: walletDetails.toggle()
onClicked: walletSummary.toggle()
}
}
@@ -121,8 +121,8 @@ ApplicationWindow
}
}
WalletDetails {
id: walletDetails
WalletSummary {
id: walletSummary
Layout.preferredWidth: parent.width
}
}