Merge pull request #5858 from gabrielbazan7/fix/redirect

fixing desktop redirect from starting to home view
This commit is contained in:
Javier Donadío 2017-04-06 17:33:49 -03:00 committed by GitHub
commit 3a029ab9c3

View file

@ -1273,17 +1273,16 @@ angular.module('copayApp').config(function(historicLogProvider, $provide, $logPr
goTo('pin');
} else
goTo('tabs.home');
});
} else goTo('tabs.home');
function goTo(nextView) {
$state.transitionTo(nextView).then(function() {
$ionicHistory.clearHistory();
});
};
function goTo(nextView) {
$state.transitionTo(nextView).then(function() {
$ionicHistory.clearHistory();
});
}
});
}
};
// After everything have been loaded, initialize handler URL
$timeout(function() {
openURLService.init();