fix sweep paper wallet backup message

This commit is contained in:
Gabriel Bazán 2016-10-27 12:33:08 -03:00
commit 8074db20e6
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;