Merge pull request #138 from cmgustavo/ref/design-37

Fix success state after TOS completion
This commit is contained in:
Gustavo Maximiliano Cortez 2016-09-20 09:53:45 -03:00 committed by GitHub
commit 53423791f7
2 changed files with 8 additions and 1 deletions

View File

@ -7,7 +7,7 @@
<div class="list card homeTip" ng-show="homeTip">
<div class="item item-icon-right item-heading">
<a ng-click="homeTip = false"><i class="icon ion-ios-close-empty close-home-tip"></i></a>
<a ng-click="hideHomeTip()"><i class="icon ion-ios-close-empty close-home-tip"></i></a>
</div>
<div>
<i class="icon big-icon-svg">

View File

@ -109,6 +109,13 @@ angular.module('copayApp.controllers').controller('tabHomeController',
});
};
$scope.hideHomeTip = function() {
$scope.homeTip = null;
$state.transitionTo($state.current, null, {
reload: false, inherit: false, notify: false
});
};
$scope.nextStep = function() {
lodash.each(['AmazonGiftCards', 'BitpayCard', 'BuyAndSell'], function(service) {
storageService.getNextStep(service, function(err, value) {