diff options
Diffstat (limited to 'src/screens/Settings')
-rw-r--r-- | src/screens/Settings/AccountSettings.tsx | 10 | ||||
-rw-r--r-- | src/screens/Settings/PrivacyAndSecuritySettings.tsx | 8 |
2 files changed, 9 insertions, 9 deletions
diff --git a/src/screens/Settings/AccountSettings.tsx b/src/screens/Settings/AccountSettings.tsx index 8d7dbde61..a69c5cdd3 100644 --- a/src/screens/Settings/AccountSettings.tsx +++ b/src/screens/Settings/AccountSettings.tsx @@ -1,8 +1,8 @@ import {msg, Trans} from '@lingui/macro' import {useLingui} from '@lingui/react' -import {NativeStackScreenProps} from '@react-navigation/native-stack' +import {type NativeStackScreenProps} from '@react-navigation/native-stack' -import {CommonNavigatorParams} from '#/lib/routes/types' +import {type CommonNavigatorParams} from '#/lib/routes/types' import {useModalControls} from '#/state/modals' import {useSession} from '#/state/session' import * as SettingsList from '#/screens/Settings/components/SettingsList' @@ -17,8 +17,8 @@ import {Envelope_Stroke2_Corner2_Rounded as EnvelopeIcon} from '#/components/ico import {Freeze_Stroke2_Corner2_Rounded as FreezeIcon} from '#/components/icons/Freeze' import {Lock_Stroke2_Corner2_Rounded as LockIcon} from '#/components/icons/Lock' import {PencilLine_Stroke2_Corner2_Rounded as PencilIcon} from '#/components/icons/Pencil' +import {ShieldCheck_Stroke2_Corner0_Rounded as ShieldIcon} from '#/components/icons/Shield' import {Trash_Stroke2_Corner2_Rounded} from '#/components/icons/Trash' -import {Verified_Stroke2_Corner2_Rounded as VerifiedIcon} from '#/components/icons/Verified' import * as Layout from '#/components/Layout' import {ChangeHandleDialog} from './components/ChangeHandleDialog' import {DeactivateAccountDialog} from './components/DeactivateAccountDialog' @@ -65,7 +65,7 @@ export function AccountSettingsScreen({}: Props) { {currentAccount.email || <Trans>(no email)</Trans>} </SettingsList.BadgeText> {currentAccount.emailConfirmed && ( - <VerifiedIcon fill={t.palette.primary_500} size="md" /> + <ShieldIcon fill={t.palette.primary_500} size="md" /> )} </> )} @@ -83,7 +83,7 @@ export function AccountSettingsScreen({}: Props) { hoverStyle={[{backgroundColor: t.palette.primary_100}]} contentContainerStyle={[a.rounded_md, a.px_lg]}> <SettingsList.ItemIcon - icon={VerifiedIcon} + icon={ShieldIcon} color={t.palette.primary_500} /> <SettingsList.ItemText diff --git a/src/screens/Settings/PrivacyAndSecuritySettings.tsx b/src/screens/Settings/PrivacyAndSecuritySettings.tsx index 870ece4bf..61a8f81cc 100644 --- a/src/screens/Settings/PrivacyAndSecuritySettings.tsx +++ b/src/screens/Settings/PrivacyAndSecuritySettings.tsx @@ -1,9 +1,9 @@ import {View} from 'react-native' import {msg, Trans} from '@lingui/macro' import {useLingui} from '@lingui/react' -import {NativeStackScreenProps} from '@react-navigation/native-stack' +import {type NativeStackScreenProps} from '@react-navigation/native-stack' -import {CommonNavigatorParams} from '#/lib/routes/types' +import {type CommonNavigatorParams} from '#/lib/routes/types' import {useAppPasswordsQuery} from '#/state/queries/app-passwords' import {useSession} from '#/state/session' import * as SettingsList from '#/screens/Settings/components/SettingsList' @@ -11,7 +11,7 @@ import {atoms as a, useTheme} from '#/alf' import * as Admonition from '#/components/Admonition' import {EyeSlash_Stroke2_Corner0_Rounded as EyeSlashIcon} from '#/components/icons/EyeSlash' import {Key_Stroke2_Corner2_Rounded as KeyIcon} from '#/components/icons/Key' -import {Verified_Stroke2_Corner2_Rounded as VerifiedIcon} from '#/components/icons/Verified' +import {ShieldCheck_Stroke2_Corner0_Rounded as ShieldIcon} from '#/components/icons/Shield' import * as Layout from '#/components/Layout' import {InlineLinkText} from '#/components/Link' import {Email2FAToggle} from './components/Email2FAToggle' @@ -42,7 +42,7 @@ export function PrivacyAndSecuritySettingsScreen({}: Props) { <SettingsList.Container> <SettingsList.Item> <SettingsList.ItemIcon - icon={VerifiedIcon} + icon={ShieldIcon} color={ currentAccount?.emailAuthFactor ? t.palette.primary_500 |