Restore ordinary root launches with query parameters and verify Back intent
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user