Fix not working navigation

This commit is contained in:
Sylwester Zieliński
2022-01-14 16:21:20 +01:00
parent 3fd71fc241
commit 81a8918c0c

View File

@@ -46,8 +46,8 @@ internal fun HomeScreen() {
startDestination = NavigationId.HOME.id
) {
composable(NavigationId.SCANNER.id) {
// val profile = viewModel.profile!!
FindDeviceScreen(ParcelUuid(Profile.CSC.uuid)) {
val profile = viewModel.profile!!
FindDeviceScreen(ParcelUuid(profile.uuid)) {
viewModel.onScannerFlowResult(it)
}
}