Clear history on start
This commit is contained in:
parent
99702ec001
commit
35fd64d558
1 changed files with 6 additions and 2 deletions
|
|
@ -1183,9 +1183,13 @@ angular.module('copayApp').config(function(historicLogProvider, $provide, $logPr
|
||||||
'notify': $state.current.name == 'starting' ? false : true
|
'notify': $state.current.name == 'starting' ? false : true
|
||||||
}).then(function() {
|
}).then(function() {
|
||||||
$ionicHistory.nextViewOptions({
|
$ionicHistory.nextViewOptions({
|
||||||
disableAnimate: true
|
disableAnimate: true,
|
||||||
|
historyRoot: true
|
||||||
|
});
|
||||||
|
$state.transitionTo('tabs.home').then(function() {
|
||||||
|
// Clear history
|
||||||
|
$ionicHistory.clearHistory();
|
||||||
});
|
});
|
||||||
$state.transitionTo('tabs.home');
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue