feat: tab shell, home/onboarding UI, settings and keyboard polish
Introduce MainTabView with history and Liquid Glass dock; refresh home and onboarding layouts; unify accent green and provider localization; refine settings/API rows; redesign keyboard mic and flanking controls; set Utility iPhone-only targets and Flow session reliability fixes.
This commit is contained in:
@@ -12,13 +12,21 @@ struct OSGKeyboardApp: App {
|
||||
@StateObject private var dictationCoordinator = DictationSessionCoordinator()
|
||||
@StateObject private var flowManager = FlowSessionManager()
|
||||
|
||||
init() {
|
||||
MaterialIconsFont.registerIfNeeded()
|
||||
#if DEBUG
|
||||
// Reset onboarding on each launch so guide screens can be reviewed while iterating UI.
|
||||
ProviderConfig.shared.hasCompletedOnboarding = false
|
||||
ProviderConfig.shared.onboardingPage = 0
|
||||
#endif
|
||||
}
|
||||
|
||||
var body: some Scene {
|
||||
WindowGroup {
|
||||
ThemedRoot {
|
||||
if AppGroup.isAvailable {
|
||||
if config.hasCompletedOnboarding {
|
||||
HomeView()
|
||||
.onAppear { flowManager.autoStartIfNeeded() }
|
||||
MainTabView()
|
||||
} else {
|
||||
OnboardingView(config: config)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user