Basic mode: updating balance properly

This commit is contained in:
Ilya Kitaev
2016-10-09 01:32:03 +03:00
parent eafcf71382
commit 7ed623e6d9
2 changed files with 11 additions and 8 deletions

View File

@@ -230,9 +230,8 @@ ApplicationWindow {
function onWalletUpdate() {
console.log(">>> wallet updated")
// basicPanel.unlockedBalanceText = leftPanel.unlockedBalanceText =
// walletManager.displayAmount(currentWallet.unlockedBalance);
// basicPanel.balanceText = leftPanel.balanceText = walletManager.displayAmount(currentWallet.balance);
middlePanel.unlockedBalanceText = leftPanel.unlockedBalanceText = walletManager.displayAmount(currentWallet.unlockedBalance);
middlePanel.balanceText = leftPanel.balanceText = walletManager.displayAmount(currentWallet.balance);
}
function onWalletRefresh() {