Skip to content
Source
Sign inSign up
pingdotgg/t3code

feat(mobile): choose the language for iPhone voice input #17692

Closedroprgm(GitHub profile, opens in a new tab)wants to merge 2 commits intomain fromrefs/pull/17692/headopened View on GitHub

Showing 12 changed files with 60 additions and 0 deletions (loading 9).

x
0 of 12 viewed, 12 left
1 addition and 0 deletionsapps/mobile/src/features/settings/components/settings-sheet-targets.tsModified
View file
@@ -13,6 +13,7 @@
| "SettingsEnvironmentMaintenance"
| "SettingsProviderAccounts"
| "SettingsKeyboard"
+ | "SettingsVoiceInput"
| "SettingsFollowUp"
| "SettingsScheduledTasks"
| "SettingsProjectGrouping"
3 additions and 0 deletionsapps/mobile/src/features/settings/SettingsRouteScreen.tsxModified
View file
@@ -156,6 +156,9 @@
{Platform.OS === "ios" ? (
<SettingsRow icon="keyboard" label="Keyboard" target="SettingsKeyboard" />
) : null}
+ {Platform.OS === "ios" ? (
+ <SettingsRow icon="mic" label="Voice input" target="SettingsVoiceInput" />
+ ) : null}
</SettingsSection>
​
<SettingsSection title="Automations">
56 additions and 0 deletionsapps/mobile/src/features/settings/SettingsVoiceInputRouteScreen.tsxAdded
View file
@@ -0,0 +1,56 @@
+import { useAtomSet, useAtomValue } from "@effect/atom-react";
+import { AsyncResult } from "effect/reactivity";
+import { ScrollView } from "react-native";
+import { useSafeAreaInsets } from "react-native-safe-area-context";