add home tip when onboarding is finished

This commit is contained in:
Gabriel Bazán 2016-09-19 12:06:46 -03:00
commit c2c70779fa
8 changed files with 72 additions and 26 deletions

View file

@ -15,7 +15,9 @@ angular.module('copayApp.controllers').controller('disclaimerController', functi
profileService.setDisclaimerAccepted(function(err) {
if (err) $log.error(err);
else {
$state.go('tabs.home');
$state.go('tabs.home', {
fromOnboarding: true
});
}
});
};

View file

@ -8,7 +8,9 @@ angular.module('copayApp.controllers').controller('termsController', function($s
profileService.setDisclaimerAccepted(function(err) {
if (err) $log.error(err);
else {
$state.go('tabs.home');
$state.go('tabs.home', {
fromOnboarding: true
});
}
});
};