Skip to content
Source
Sign inSign up
pingdotgg/t3code

feat(mobile): optional send-immediately setting for iPhone voice input #14807

ClosedDwite(GitHub profile, opens in a new tab)wants to merge 5 commits intomain fromrefs/pull/14807/headopened View on GitHub

Showing 11 changed files with 38 additions and 17 deletions (loading 7).

x
0 of 11 viewed, 11 left
15 additions and 1 deletionapps/mobile/src/features/settings/SettingsKeyboardRouteScreen.tsxModified
View file
@@ -14,6 +14,7 @@
import { mobilePreferencesAtom, updateMobilePreferencesAtom } from "../../state/preferences";
import { SettingsChoiceRow } from "./components/SettingsChoiceRow";
import { SettingsSection } from "./components/SettingsSection";
+import { SettingsSwitchRow } from "./components/SettingsSwitchRow";
​
const ENTER_BEHAVIOR_OPTIONS: ReadonlyArray<{
readonly behavior: ComposerEnterBehavior;
@@ -47,7 +48,7 @@
{Platform.OS === "android" ? (
<>
<NativeStackScreenOptions options={{ headerShown: false }} />
- <AndroidScreenHeader title="Keyboard" onBack={() => navigation.goBack()} />
+ <AndroidScreenHeader title="Keyboard & voice" onBack={() => navigation.goBack()} />
</>
) : null}
<ScrollView
@@ -57,6 +58,19 @@
contentContainerClassName="gap-3 px-5 pt-4"
contentContainerStyle={{ paddingBottom: Math.max(insets.bottom, 18) + 18 }}
+ <SettingsSection title="Voice input">
+ <SettingsSwitchRow
+ icon="mic"
+ label="Send immediately"
+ subtitle="Send the full composer message when transcription finishes. Off by default, so you can review the text first."
+ value={
+ AsyncResult.isSuccess(preferencesResult) &&