.
This commit is contained in:
parent
ad7f04a272
commit
4aca487723
1 changed files with 1 additions and 9 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
angular.module('copayApp.controllers').controller('copayersController',
|
angular.module('copayApp.controllers').controller('copayersController',
|
||||||
function($scope, $rootScope, $timeout, $log, $ionicModal, profileService, notification, platformInfo, gettext, gettextCatalog, $stateParams, $state) {
|
function($scope, $rootScope, $timeout, $log, $ionicModal, profileService, platformInfo, gettext, gettextCatalog, $stateParams, $state) {
|
||||||
var self = this;
|
var self = this;
|
||||||
$scope.isCordova = platformInfo.isCordova;
|
$scope.isCordova = platformInfo.isCordova;
|
||||||
var isWP = platformInfo.isWP;
|
var isWP = platformInfo.isWP;
|
||||||
|
|
@ -40,14 +40,6 @@ angular.module('copayApp.controllers').controller('copayersController',
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
$state.go('tabs.home');
|
$state.go('tabs.home');
|
||||||
$timeout(function() {
|
|
||||||
notification.success(
|
|
||||||
gettextCatalog.getString('Success'),
|
|
||||||
gettextCatalog.getString('The wallet "{{walletName}}" was deleted', {
|
|
||||||
walletName: walletName
|
|
||||||
})
|
|
||||||
);
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue