fix txStatus modal
This commit is contained in:
parent
e286e7ea56
commit
a95f37ce54
7 changed files with 50 additions and 77 deletions
|
|
@ -1,5 +1,5 @@
|
|||
angular.module('copayApp.controllers').controller('paperWalletController',
|
||||
function($scope, $timeout, $log, $ionicModal, configService, profileService, $state, addressService, txStatus, bitcore, ongoingProcess, txFormatService, $stateParams) {
|
||||
function($scope, $timeout, $log, $ionicModal, configService, profileService, $state, addressService, bitcore, ongoingProcess, txFormatService, $stateParams, walletService) {
|
||||
|
||||
var wallet = profileService.getWallet($stateParams.walletId);
|
||||
var rawTx;
|
||||
|
|
@ -100,7 +100,7 @@ angular.module('copayApp.controllers').controller('paperWalletController',
|
|||
$scope.error = err.message || err.toString();
|
||||
$log.error(err);
|
||||
} else {
|
||||
var type = txStatus.notify(txp);
|
||||
var type = walletService.getViewStatus(wallet, txp);
|
||||
$scope.openStatusModal(type, txp, function() {
|
||||
$state.go('tabs.home');
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue