This commit is contained in:
Matias Alejo Garcia 2017-04-18 16:42:17 -03:00
parent 8be28e85da
commit 9f41a8b79a
No known key found for this signature in database
GPG Key ID: 02470DB551277AB3
1 changed files with 3 additions and 0 deletions

View File

@ -1209,10 +1209,12 @@ angular.module('copayApp').config(function(historicLogProvider, $provide, $logPr
function checkAndApplyLock(onResume) {
var defaultView = 'tabs.home';
console.log('[routes.js.1211]'); //TODO
if (!platformInfo.isCordova && !platformInfo.isDevel) {
goTo(defaultView);
}
console.log('[routes.js.1216]'); //TODO
function goTo(nextView) {
nextView = nextView || defaultView;
$state.transitionTo(nextView).then(function() {
@ -1287,6 +1289,7 @@ angular.module('copayApp').config(function(historicLogProvider, $provide, $logPr
historyRoot: true
});
console.log('[routes.js.1289]'); //TODO
checkAndApplyLock();
});
};