feat: TypeWhisper Flow sessions, Phase 4 UX, and GitHub Pages privacy site
Migrate keyboard dictation to continuous Flow sessions with auto-start, tap-to-toggle recording, 60s countdown, five-step onboarding, and App Group IPC. Add docs/ GitHub Pages site with en/zh privacy policy for App Store compliance.
This commit is contained in:
@@ -62,16 +62,19 @@ public struct AppGroupPersistor {
|
||||
|
||||
/// Persist `mode` to the App Group store.
|
||||
public func persist(mode: KeyboardViewController.State.InputMode) {
|
||||
guard AppGroup.isAvailable else { return }
|
||||
AppGroupStore().setModeId(mode.rawValue)
|
||||
}
|
||||
|
||||
/// Persist `localeId` to the App Group store.
|
||||
public func persist(localeId: String) {
|
||||
guard AppGroup.isAvailable else { return }
|
||||
AppGroupStore().setLocaleId(localeId)
|
||||
}
|
||||
|
||||
/// Persist `engineMode` to the App Group store.
|
||||
public func persist(engineMode: String) {
|
||||
guard AppGroup.isAvailable else { return }
|
||||
AppGroupStore().setEngineMode(engineMode)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user