perf(startupService): speedup perceived load time by removing animations before the splashscreen hid
This commit is contained in:
parent
4de3cad712
commit
ec343e4991
4 changed files with 12 additions and 5 deletions
|
|
@ -959,6 +959,9 @@ angular.module('copayApp').config(function(historicLogProvider, $provide, $logPr
|
|||
$log.info('Init profile...');
|
||||
// Try to open local profile
|
||||
profileService.loadAndBindProfile(function(err) {
|
||||
$ionicHistory.nextViewOptions({
|
||||
disableAnimate: true
|
||||
});
|
||||
if (err) {
|
||||
if (err.message && err.message.match('NOPROFILE')) {
|
||||
$log.debug('No profile... redirecting');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue