Merge pull request #5858 from gabrielbazan7/fix/redirect
fixing desktop redirect from starting to home view
This commit is contained in:
commit
3a029ab9c3
1 changed files with 6 additions and 7 deletions
|
|
@ -1273,17 +1273,16 @@ angular.module('copayApp').config(function(historicLogProvider, $provide, $logPr
|
||||||
goTo('pin');
|
goTo('pin');
|
||||||
} else
|
} else
|
||||||
goTo('tabs.home');
|
goTo('tabs.home');
|
||||||
|
});
|
||||||
|
} else goTo('tabs.home');
|
||||||
|
|
||||||
function goTo(nextView) {
|
function goTo(nextView) {
|
||||||
$state.transitionTo(nextView).then(function() {
|
$state.transitionTo(nextView).then(function() {
|
||||||
$ionicHistory.clearHistory();
|
$ionicHistory.clearHistory();
|
||||||
});
|
|
||||||
};
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
};
|
||||||
|
|
||||||
// After everything have been loaded, initialize handler URL
|
// After everything have been loaded, initialize handler URL
|
||||||
$timeout(function() {
|
$timeout(function() {
|
||||||
openURLService.init();
|
openURLService.init();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue