fix: update start destination to NodesGraph when connected (#2058)

This commit is contained in:
James Rich 2025-06-08 19:28:48 +00:00 committed by GitHub
parent 22109e59a6
commit 72ab461661
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -84,9 +84,9 @@ fun NavGraph(
NavHost(
navController = navController,
startDestination = if (uIViewModel.isConnected()) {
ConnectionsRoutes.ConnectionsGraph
NodesRoutes.NodesGraph
} else {
ContactsRoutes.ContactsGraph
ConnectionsRoutes.ConnectionsGraph
},
modifier = modifier,
) {