feat: 「打卡」未登录自动跳转「我的」

This commit is contained in:
AndyChen1024
2026-09-09 22:19:47 +08:00
parent 0b8bcfe800
commit 84c4bf64b3
3 changed files with 29 additions and 5 deletions

View File

@@ -77,7 +77,9 @@ fun AppNavHost() {
onNavigateToProfile = { navigateToTab(PROFILE_ROUTE) },
)
}
composable(CHECKIN_ROUTE) { CheckinScreen() }
composable(CHECKIN_ROUTE) {
CheckinScreen(onNavigateToProfile = { navigateToTab(PROFILE_ROUTE) })
}
composable(PLAN_ROUTE) {
PlanScreen(
onNavigateToPlanSubmit = { type, periodKey ->