@ionic/angular 7.4.3 → 7.4.4-dev.11696537016.1e5ce7a3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2619,8 +2619,7 @@ class NavController {
2619
2619
  router.events.subscribe((ev) => {
2620
2620
  if (ev instanceof NavigationStart) {
2621
2621
  const id = ev.restoredState ? ev.restoredState.navigationId : ev.id;
2622
- this.guessDirection = id < this.lastNavId ? 'back' : 'forward';
2623
- this.guessAnimation = !ev.restoredState ? this.guessDirection : undefined;
2622
+ this.guessAnimation = this.guessDirection = id < this.lastNavId ? 'back' : 'forward';
2624
2623
  this.lastNavId = this.guessDirection === 'forward' ? ev.id : id;
2625
2624
  }
2626
2625
  });