Skip to content

Commit

Permalink
Fix issue with updating URL info in TemporaryQRouter
Browse files Browse the repository at this point in the history
  • Loading branch information
SchabanBo committed Aug 7, 2024
1 parent 6d35566 commit 70e2f9b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/src/routers/temporary_router.dart
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ class _TemporaryQRouterState extends State<TemporaryQRouter> {
QR.activeNavigatorName = QRContext.rootRouterName;
_treeAdjuster.reset();
WidgetsBinding.instance.addPostFrameCallback((timeStamp) {
if (QR.currentPath == originalRoute) return;
QR.updateUrlInfo(originalRoute);
});
}
Expand Down

0 comments on commit 70e2f9b

Please sign in to comment.