Fix tab-home after a hard refresh or resume
This commit is contained in:
parent
4ac070d29e
commit
99702ec001
1 changed files with 10 additions and 1 deletions
|
|
@ -1177,7 +1177,16 @@ angular.module('copayApp').config(function(historicLogProvider, $provide, $logPr
|
|||
profileService.storeProfileIfDirty();
|
||||
$log.debug('Profile loaded ... Starting UX.');
|
||||
scannerService.gentleInitialize();
|
||||
$state.go('tabs.home');
|
||||
// Reload tab-home if necessary (from root path: starting)
|
||||
$state.go('starting', {}, {
|
||||
'reload': true,
|
||||
'notify': $state.current.name == 'starting' ? false : true
|
||||
}).then(function() {
|
||||
$ionicHistory.nextViewOptions({
|
||||
disableAnimate: true
|
||||
});
|
||||
$state.transitionTo('tabs.home');
|
||||
});
|
||||
}
|
||||
|
||||
// After everything have been loaded, initialize handler URL
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue