Merge pull request #4911 from gabrielbazan7/fix/paperBackup

fix sweep paper wallet backup message
This commit is contained in:
Gustavo Maximiliano Cortez 2016-10-27 12:42:30 -03:00 committed by GitHub
commit 919d29e1b5
2 changed files with 5 additions and 6 deletions

View file

@ -120,10 +120,9 @@ angular.module('copayApp.controllers').controller('paperWalletController',
});
};
$scope.$on("$ionicView.enter", function(event, data) {
$scope.$on("$ionicView.beforeEnter", function(event, data) {
var wallet = profileService.getWallet($stateParams.walletId);
$scope.wallet = wallet;
$scope.isCordova = platformInfo.isCordova;
$scope.needsBackup = wallet.needsBackup;
$scope.walletAlias = wallet.name;
$scope.walletName = wallet.credentials.walletName;