Merge pull request #164 from gabrielbazan7/fix/routes1

fix back button in backup view
This commit is contained in:
Gustavo Maximiliano Cortez 2016-09-22 17:06:50 -03:00 committed by GitHub
commit 2f77b71c50
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');