Skip to content
Snippets Groups Projects
Commit bac0f8d7 authored by Benoit Lavenier's avatar Benoit Lavenier
Browse files

Balance incorrecte after sending TX - fix #248

parent 2ab25958
No related branches found
No related tags found
No related merge requests found
...@@ -86,6 +86,8 @@ function WalletController($scope, $rootScope, $q, $ionicPopup, $timeout, $state, ...@@ -86,6 +86,8 @@ function WalletController($scope, $rootScope, $q, $ionicPopup, $timeout, $state,
// Update view // Update view
$scope.updateView = function() { $scope.updateView = function() {
$scope.$broadcast('$$rebind::' + 'balance'); // force rebind balance
$scope.onSettingsChanged(); $scope.onSettingsChanged();
// Set Motion // Set Motion
$timeout(function() { $timeout(function() {
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
</button> </button>
</ion-nav-buttons> </ion-nav-buttons>
<ion-content scroll="true" bind-notifier="{ rebind:settings.useRelative }"> <ion-content scroll="true" bind-notifier="{ rebind:settings.useRelative, balance:walletData.balance }">
<div class="positive-900-bg hero" <div class="positive-900-bg hero"
id="wallet-header" id="wallet-header"
ng-class="{'hero-qrcode-active': toggleQRCode}"> ng-class="{'hero-qrcode-active': toggleQRCode}">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment