Skip to content

Commit

Permalink
[fix] top-level guard updating URL
Browse files Browse the repository at this point in the history
  • Loading branch information
slovnicki committed May 18, 2021
1 parent d0e35d0 commit 8713cee
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions package/lib/src/beamer_delegate.dart
Original file line number Diff line number Diff line change
Expand Up @@ -693,6 +693,9 @@ class BeamerDelegate<T extends BeamState> extends RouterDelegate<BeamState>
}
_pushHistory(redirectLocation);
_updateFromLocation(rebuild: false);
if (_parent == null) {
updateRouteInformation(_currentBeamLocation.state);
}
}

void _pushHistory(BeamLocation location, {bool replaceCurrent = false}) {
Expand Down

0 comments on commit 8713cee

Please sign in to comment.