Integrate scoped Settings restoration and preserve detail on Back

This commit is contained in:
2026-11-08 01:05:07 +00:00
parent 151d99fbb6
commit e363a90295
4 changed files with 22 additions and 1 deletions
+4 -1
View File
@@ -664,7 +664,9 @@ class _PipelinesAppState extends State<PipelinesApp>
cupertino: _cupertino,
destination: _destinationOf(route.kind),
onDestinationSelected: _selectDestination,
onClosePage: () => _delegate.goTo(AppRoute.pipelines),
onClosePage: () => _delegate.goTo(
_bodyRoutes[AppDestination.pipelines] ?? AppRoute.pipelines,
),
destinationBodies: {
AppDestination.pipelines: (_) => PipelinesDestination(
session: _session,
@@ -745,6 +747,7 @@ class _PipelinesAppState extends State<PipelinesApp>
// Settings is a page of the Pipelines tab (its bar's gear), not a
// tab; the shell shows it with Back to Pipelines.
AppDestination.settings: (_) => SettingsScreen(
navigationScope: _navigationScope,
client: _session.client,
// A phone signs in at the web login; a browser has its own.
showSignIn: !kIsWeb,