Restore ordinary root launches with query parameters and verify Back intent

This commit is contained in:
2026-11-08 01:13:58 +00:00
parent eee3b70684
commit 032d4cd6c0
5 changed files with 46 additions and 4 deletions
+3 -1
View File
@@ -230,7 +230,9 @@ class _PipelinesAppState extends State<PipelinesApp>
'',
'/',
].contains(WidgetsBinding.instance.platformDispatcher.defaultRouteName);
final restoreTab = !widget.resetRoute && (location == '/' || nativeDefault);
final restoreTab =
!widget.resetRoute &&
(Uri.tryParse(location)?.path == '/' || nativeDefault);
_tabLocations = TabLocations(
widget.tabLocationsStore ??
SharedPreferencesTabLocationsStore(scope: _navigationScope),