mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
Refactor: clean up sharedTransition from more places (#1963)
This commit is contained in:
parent
950dacddea
commit
808992e3b3
4 changed files with 7 additions and 27 deletions
|
|
@ -254,8 +254,6 @@ fun NavGraph(
|
|||
model = uIViewModel,
|
||||
navigateToMessages = { navController.navigate(Route.Messages(it)) },
|
||||
navigateToNodeDetails = { navController.navigate(Route.NodeDetail(it)) },
|
||||
sharedTransitionScope = this@SharedTransitionLayout,
|
||||
this@composable,
|
||||
)
|
||||
}
|
||||
composable<Route.Map> {
|
||||
|
|
@ -303,14 +301,16 @@ fun NavGraph(
|
|||
navigateToMessages = { navController.navigate(Route.Messages(it)) },
|
||||
navigateToNodeDetails = { navController.navigate(Route.NodeDetail(it)) },
|
||||
onNavigateBack = navController::navigateUp,
|
||||
sharedTransitionScope = this@SharedTransitionLayout,
|
||||
animatedContentScope = this@composable,
|
||||
)
|
||||
}
|
||||
composable<Route.QuickChat> {
|
||||
QuickChatScreen()
|
||||
}
|
||||
nodeDetailGraph(navController, uIViewModel, sharedTransitionScope = this@SharedTransitionLayout)
|
||||
nodeDetailGraph(
|
||||
navController,
|
||||
uIViewModel,
|
||||
sharedTransitionScope = this@SharedTransitionLayout
|
||||
)
|
||||
radioConfigGraph(navController, uIViewModel)
|
||||
composable<Route.Share>(
|
||||
deepLinks = listOf(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue