feat: 流程走通

This commit is contained in:
jinyaqiu 2025-08-29 15:33:05 +08:00
parent 10ecd93b54
commit 5f877b56b3
4 changed files with 10 additions and 5 deletions

View File

@ -267,7 +267,11 @@ struct ContentView: View {
}
.background(Color.themeTextWhiteSecondary)
.navigationBarHidden(true)
.navigationBarBackButtonHidden(true)
}
.navigationViewStyle(StackNavigationViewStyle())
.navigationBarHidden(true)
.navigationBarBackButtonHidden(true)
}
///

View File

@ -12,6 +12,7 @@ enum AppRoute: Hashable {
case memories
case subscribe
case userInfo
case content
@ViewBuilder
var view: some View {
@ -36,6 +37,8 @@ enum AppRoute: Hashable {
SubscribeView()
case .userInfo:
UserInfo()
case .content:
ContentView()
}
}
}

View File

@ -35,7 +35,7 @@ struct JoinModal: View {
Spacer()
Button(action: {
withAnimation {
isPresented = false
Router.shared.navigate(to: .content)
}
}) {
Image(systemName: "xmark")

View File

@ -45,11 +45,9 @@ struct WakeApp: App {
} else {
//
if authState.isAuthenticated {
// userInfo
MediaUploadView()
//
ContentView()
.environmentObject(authState)
// ContentView()
// .environmentObject(authState)
} else {
//
LoginView()