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')} -