Skip to content

Commit

Permalink
Revert modification that makes impossible to build
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinBoulongne committed Sep 17, 2024
1 parent 55b2025 commit 27aa039
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ fun MainNavHost(
exitTransition = { if (currentDestination.enableTransition) fadeOut() else ExitTransition.None },
) {
composable<SentDestination> {
SentScreen(navigateToDetails = { navController.navigate(::TransferDetailsDestination) })
SentScreen(navigateToDetails = { navController.navigate(TransferDetailsDestination(it)) })
}
composable<ReceivedDestination> {
ReceivedScreen(navigateToDetails = { navController.navigate(::TransferDetailsDestination) })
ReceivedScreen(navigateToDetails = { navController.navigate(TransferDetailsDestination(it)) })
}
composable<TransferDetailsDestination> {
val transferDetails: TransferDetailsDestination = it.toRoute()
Expand Down

0 comments on commit 27aa039

Please sign in to comment.