Merge pull request #2429 from cmgustavo/bug/txsproposals-01
Update tx proposals after change the unit
This commit is contained in:
commit
3197e9449b
1 changed files with 2 additions and 1 deletions
|
|
@ -1,7 +1,7 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('copayApp.controllers').controller('MoreController',
|
||||
function($scope, $rootScope, $location, $filter, $timeout, balanceService, notification, rateService, backupService, identityService, isMobile, isCordova, go) {
|
||||
function($scope, $rootScope, $location, $filter, $timeout, balanceService, notification, rateService, backupService, identityService, isMobile, isCordova, go, pendingTxsService) {
|
||||
var w = $rootScope.wallet;
|
||||
var max = $rootScope.quotaPerItem;
|
||||
$scope.isSafari = isMobile.Safari();
|
||||
|
|
@ -87,6 +87,7 @@ angular.module('copayApp.controllers').controller('MoreController',
|
|||
});
|
||||
notification.success('Success', $filter('translate')('settings successfully updated'));
|
||||
balanceService.update(w, function() {
|
||||
pendingTxsService.update();
|
||||
$rootScope.$digest();
|
||||
});
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue