Removes old _NextStep code

This commit is contained in:
Gustavo Maximiliano Cortez 2017-03-06 15:46:44 -03:00
commit f78f937c0f
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF
2 changed files with 1 additions and 17 deletions

View file

@ -20,8 +20,6 @@ angular.module('copayApp.controllers').controller('bitpayCardIntroController', f
popupService.showAlert(gettextCatalog.getString('Error updating Debit Cards'), err);
return;
}
// Set flag for nextStep
storageService.setNextStep('BitpayCard', 'true', function(err) {});
$ionicHistory.nextViewOptions({
disableAnimate: true
});
@ -83,9 +81,7 @@ angular.module('copayApp.controllers').controller('bitpayCardIntroController', f
popupService.showAlert(gettextCatalog.getString('Error'), err);
return;
}
storageService.setNextStep('BitpayCard', 'true', function(err) {
$state.go('tabs.home');
});
$state.go('tabs.home');
});
}
};