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:
Rocky
2026-06-20 00:31:58 +08:00
parent e2ccc10cfd
commit 38a36ed504
42 changed files with 1380 additions and 547 deletions
+10 -2
View File
@@ -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)
}