Add 2FA warning
This commit is contained in:
@@ -192,6 +192,14 @@ export function Update(_props: ScreenProps<ScreenID.Update>) {
|
|||||||
<Trans>Update email</Trans>
|
<Trans>Update email</Trans>
|
||||||
</Text>
|
</Text>
|
||||||
|
|
||||||
|
{currentAccount?.emailAuthFactor && (
|
||||||
|
<Admonition type="warning">
|
||||||
|
<Trans>
|
||||||
|
If you update your email address, email 2FA will be disabled.
|
||||||
|
</Trans>
|
||||||
|
</Admonition>
|
||||||
|
)}
|
||||||
|
|
||||||
<View style={[a.gap_md]}>
|
<View style={[a.gap_md]}>
|
||||||
<View>
|
<View>
|
||||||
<Text style={[a.pb_sm, t.atoms.text_contrast_medium]}>
|
<Text style={[a.pb_sm, t.atoms.text_contrast_medium]}>
|
||||||
|
|||||||
Reference in New Issue
Block a user