Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

mobile: fix code input when changing email

Ammar Ahmed43d017d64ad6
diff --git a/apps/mobile/app/components/sheets/change-email/index.tsx b/apps/mobile/app/components/sheets/change-email/index.tsx
index e6c8a35d6..d88f43478 100644
--- a/apps/mobile/app/components/sheets/change-email/index.tsx
+++ b/apps/mobile/app/components/sheets/change-email/index.tsx
@@ -134,8 +134,10 @@ export const ChangeEmail = ({ close }: ChangeEmailProps) => {
) : (
<>
<Input
+ key="code-input"
fwdRef={codeInputRef}
- placeholder={strings.verifyNewEmail()}
+ placeholder={strings.code()}
+ defaultValue=""
onChangeText={(code) => {
emailChangeData.current.code = code;
}}