feat: 「我的」页退出登录/登录接入会话状态

This commit is contained in:
AndyChen1024
2026-09-09 22:16:25 +08:00
parent c41c04ff23
commit 03410d7ea2
5 changed files with 53 additions and 34 deletions

View File

@@ -96,7 +96,9 @@ fun AppNavHost() {
) {
PlanSubmitScreen(onBack = { navController.popBackStack() })
}
composable(PROFILE_ROUTE) { ProfileScreen() }
composable(PROFILE_ROUTE) {
ProfileScreen(onLoggedOut = { navigateToTab(HOME_ROUTE) })
}
}
}
}