5bc81d5b3b
iOS SwiftUI app with Supabase auth/realtime, Node.js backend, Docker/Supabase self-hosted infrastructure, and APNs scheduler. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
17 lines
366 B
Swift
17 lines
366 B
Swift
import SwiftUI
|
|
|
|
struct RootView: View {
|
|
@EnvironmentObject var appState: AppState
|
|
|
|
var body: some View {
|
|
Group {
|
|
if appState.isAuthenticated {
|
|
MainTabView()
|
|
} else {
|
|
OnboardingView()
|
|
}
|
|
}
|
|
.animation(.easeInOut(duration: 0.3), value: appState.isAuthenticated)
|
|
}
|
|
}
|