fix skip button on email view

This commit is contained in:
Gabriel Bazán 2016-09-13 23:25:50 -03:00
commit 8080e0b856

View file

@ -22,12 +22,12 @@ angular.module('copayApp.controllers').controller('collectEmailController', func
if (err) $log.warn(err);
configService.set(opts, function(err) {
if (err) $log.warn(err);
goNextView();
$scope.goNextView();
});
});
};
var goNextView = function() {
$scope.goNextView = function() {
if (!usePushNotifications) {
$state.go('onboarding.backupRequest', {
walletId: walletId