Skip to content

Commit

Permalink
fix details screen navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
mutukuian committed May 13, 2024
1 parent bed0832 commit f2b4edf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ fun ShipListScreen(

items(state.ships) { ship ->
ShipImageCard(ships = ship, onItemClick = {
navController.navigate(Screen.ShipDetailScreen.route +"/{ships.id}")
navController.navigate(Screen.ShipDetailScreen.route +"/${ship.ship_id}")
})
}
}
Expand Down

0 comments on commit f2b4edf

Please sign in to comment.