From 7e5e296271b4a7af521398229b7d3146ed6ade59 Mon Sep 17 00:00:00 2001 From: Linus Rath <139418639+rathlinus@users.noreply.github.com> Date: Thu, 15 Oct 2026 15:16:32 +0200 Subject: [PATCH] fix: use the app switch for the sender override in compose --- src/screens/ComposeScreen.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/screens/ComposeScreen.tsx b/src/screens/ComposeScreen.tsx index 6c048141..9207ea89 100644 --- a/src/screens/ComposeScreen.tsx +++ b/src/screens/ComposeScreen.tsx @@ -1,7 +1,7 @@ import React from 'react'; import { View, Text, StyleSheet, TextInput, Pressable, ScrollView, - Keyboard, Platform, ActivityIndicator, Alert, Modal, Switch, useWindowDimensions, + Keyboard, Platform, ActivityIndicator, Alert, Modal, useWindowDimensions, } from 'react-native'; import { SafeAreaView, useSafeAreaInsets } from 'react-native-safe-area-context'; import { usePreventRemove } from '@react-navigation/native'; @@ -79,6 +79,7 @@ import { sanitizeDisplayName } from '../lib/rfc5322-mailbox'; import type { EmailAddress, Identity } from '../api/types'; import type { RootStackParamList } from '../navigation/types'; import { MODAL_ORIENTATIONS } from '../lib/modal-orientations'; +import ToggleSwitch from '../components/ToggleSwitch'; type Props = NativeStackScreenProps; @@ -2861,7 +2862,7 @@ export default function ComposeScreen({ route, navigation }: Props) { )} {t('email_composer.from_override.toggle_off', 'Override')} -