feat(nav): rename tab labels to canonical order (#5551)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
James Rich
2026-05-20 15:57:08 -07:00
committed by GitHub
parent 9d5e20c742
commit ea85b906e8
18 changed files with 675 additions and 35 deletions
@@ -59,7 +59,7 @@ fun MainScreen() {
// from the StateFlow (seeded from persisted prefs) so the initial tab is set in one shot.
val initialTab =
if (viewModel.currentDeviceAddressFlow.value.isNullOrSelectedNone()) {
TopLevelDestination.Connections.route
TopLevelDestination.Connect.route
} else {
NodesRoute.Nodes
}
@@ -82,7 +82,7 @@ fun MainScreen() {
scrollToTopEvents = viewModel.scrollToTopEventFlow,
onHandleDeepLink = viewModel::handleDeepLink,
onNavigateToConnections = {
multiBackstack.navigateTopLevel(TopLevelDestination.Connections.route)
multiBackstack.navigateTopLevel(TopLevelDestination.Connect.route)
},
)
mapGraph(backStack)