Skip to content

Commit

Permalink
Merge pull request #669 from stan-at-work/no-trans-delegate-fix
Browse files Browse the repository at this point in the history
Added isWaitingForExitingDecision before the markForRemove function, …
  • Loading branch information
slovnicki authored Jul 23, 2024
2 parents fc74733 + f07c436 commit 1649a65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/lib/src/transition_delegates.dart
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class NoAnimationTransitionDelegate extends TransitionDelegate<void> {
final pagelessRoutes = pageRouteToPagelessRoutes[exitingPageRoute];
if (pagelessRoutes != null) {
for (final pagelessRoute in pagelessRoutes) {
pagelessRoute.markForRemove();
if (pagelessRoute.isWaitingForExitingDecision) pagelessRoute.markForRemove();
}
}
}
Expand Down

0 comments on commit 1649a65

Please # to comment.