Merge pull request #94 from JDonadio/fix/sweep-flag

Fix/sweep paper wallet
This commit is contained in:
Gustavo Maximiliano Cortez 2016-09-12 14:02:53 -03:00 committed by GitHub
commit 0f4cdfbb32
5 changed files with 130 additions and 89 deletions

View file

@ -96,7 +96,10 @@ angular.module('copayApp.controllers').controller('backupController',
if (val) {
confirmBackupPopup.close();
if ($stateParams.fromOnboarding) $state.go('onboarding.disclaimer');
else $state.go('tabs.home')
else {
$ionicHistory.clearHistory();
$state.go('tabs.home');
}
} else {
confirmBackupPopup.close();
$scope.goToStep(1);