fix back button in backup view

This commit is contained in:
Gabriel Bazán 2016-09-22 17:04:49 -03:00
parent 337ab55f10
commit 0cb1ea0494
1 changed files with 2 additions and 2 deletions

View File

@ -198,12 +198,12 @@ angular.module('copayApp.controllers').controller('backupController',
walletId: $stateParams.walletId,
fromOnboarding: true
});
else $state.go('tabs.preferences.main', {
else $state.go('tabs.preferences', {
walletId: $stateParams.walletId
});
};
$scope.$on("$ionicView.enter", function(event, data){
$scope.$on("$ionicView.enter", function(event, data) {
$scope.deleted = isDeletedSeed();
if ($scope.deleted) {
$log.debug('no mnemonics');