From d7a3ee12e74b06910c730089036d6dc9da0842f1 Mon Sep 17 00:00:00 2001 From: Ammar Ahmed Date: Mon, 8 Jun 2026 09:09:46 +0500 Subject: [PATCH] mobile: fix Resend code button not working on 2FA screen --- .../mobile/app/components/auth/two-factor.tsx | 24 ++++++++++++------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/apps/mobile/app/components/auth/two-factor.tsx b/apps/mobile/app/components/auth/two-factor.tsx index 6db55cb9b..17b6ca500 100644 --- a/apps/mobile/app/components/auth/two-factor.tsx +++ b/apps/mobile/app/components/auth/two-factor.tsx @@ -20,7 +20,7 @@ along with this program. If not, see . import { strings } from "@notesnook/intl"; import { useThemeColors } from "@notesnook/theme"; import React, { useCallback, useEffect, useRef, useState } from "react"; -import { TextInput, View } from "react-native"; +import { TextInput, TouchableOpacity, View } from "react-native"; import { db } from "../../common/database/index"; import { Radius, Spacing } from "../../common/design/spacing"; import useTimer from "../../hooks/use-timer"; @@ -316,7 +316,7 @@ const TwoFactorVerification = ({