refactor: settings screen ui updates (#1955)

This commit is contained in:
James Rich 2025-05-27 20:02:53 -05:00 committed by GitHub
parent 653c9e4f26
commit 9f0765526d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 85 additions and 26 deletions

View file

@ -274,13 +274,17 @@ fun NavGraph(
) { backStackEntry ->
SettingsScreen(
uIViewModel,
) {
navController.navigate(Route.RadioConfig()) {
popUpTo(Route.Settings) {
inclusive = false
sharedTransitionScope = this@SharedTransitionLayout,
animatedContentScope = this@composable,
onNavigateToRadioConfig = {
navController.navigate(Route.RadioConfig()) {
popUpTo(Route.Settings) {
inclusive = false
}
}
}
}
},
onNavigateToNodeDetails = { navController.navigate(Route.NodeDetail(it)) }
)
}
composable<Route.DebugPanel> {
DebugScreen()