mirror of https://github.com/BTCPrivate/copay.git
Merge pull request #2429 from cmgustavo/bug/txsproposals-01
Update tx proposals after change the unit
This commit is contained in:
commit
3197e9449b
|
@ -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…
Reference in New Issue