Closed DimaMaligon closed 1 year ago
composable( route = Screens.Letter.route ) { val letterFromList = it.arguments?.getString(DETAIL_ARGUMENT_LETTER) ?: "" if(letterFromList == "") { //compose with error and one back button } else { LetterScreen(navController, letterFromList, letterViewModel) } }
composable( route = Screens.Letter.route ) { val letterFromList = it.arguments?.getString(DETAIL_ARGUMENT_LETTER) ?: "" if(letterFromList == "") { //compose with error and one back button } else { LetterScreen(navController, letterFromList, letterViewModel)
} }