fix back button in backup view

This commit is contained in:
Gabriel Bazán 2016-09-22 17:04:49 -03:00
commit 0cb1ea0494

View file

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