mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
fix: navController.navigate() to empty route
This commit is contained in:
parent
37df3ce084
commit
167be6dfc3
1 changed files with 2 additions and 1 deletions
|
|
@ -292,7 +292,8 @@ fun RadioConfigNavHost(
|
|||
viewModel.clearPacketResponse()
|
||||
},
|
||||
onComplete = {
|
||||
navController.navigate(radioConfigState.route)
|
||||
val route = radioConfigState.route
|
||||
if (route.isNotEmpty()) navController.navigate(route)
|
||||
viewModel.clearPacketResponse()
|
||||
}
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue