qml: rename walletdetails to walletsummary
This commit is contained in:
@@ -173,11 +173,9 @@ Item {
|
|||||||
id: piechart
|
id: piechart
|
||||||
visible: Daemon.currentWallet.totalBalance.satsInt > 0
|
visible: Daemon.currentWallet.totalBalance.satsInt > 0
|
||||||
Layout.preferredWidth: parent.width
|
Layout.preferredWidth: parent.width
|
||||||
// Layout.preferredHeight: 200
|
|
||||||
implicitHeight: 200
|
implicitHeight: 200
|
||||||
innerOffset: 6
|
innerOffset: 6
|
||||||
function updateSlices() {
|
function updateSlices() {
|
||||||
console.log('update piechart, w='+width+',h='+height)
|
|
||||||
var totalB = Daemon.currentWallet.totalBalance.satsInt
|
var totalB = Daemon.currentWallet.totalBalance.satsInt
|
||||||
var onchainB = Daemon.currentWallet.confirmedBalance.satsInt
|
var onchainB = Daemon.currentWallet.confirmedBalance.satsInt
|
||||||
var frozenB = Daemon.currentWallet.frozenBalance.satsInt
|
var frozenB = Daemon.currentWallet.frozenBalance.satsInt
|
||||||
@@ -62,7 +62,7 @@ ApplicationWindow
|
|||||||
font.bold: true
|
font.bold: true
|
||||||
MouseArea {
|
MouseArea {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
onClicked: walletDetails.toggle()
|
onClicked: walletSummary.toggle()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -121,8 +121,8 @@ ApplicationWindow
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
WalletDetails {
|
WalletSummary {
|
||||||
id: walletDetails
|
id: walletSummary
|
||||||
Layout.preferredWidth: parent.width
|
Layout.preferredWidth: parent.width
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user