This commit is contained in:
Jamie Brunton committed 2025-12-30 22:18:12 +00:00
1 parent c978a3bd28
commit 0f229211ea
19 files changed
+1625 -624

No files matched your search

+3 -2
View File
@@ -17,6 +17,7 @@ import Animated, {
} from "react-native-reanimated";
import { Ionicons } from "@expo/vector-icons";
import { supabase } from "../../src/lib/supabase";
import { getAuthError } from "../../src/lib/errors";
import { GradientBackground, GlassCard, GlassButton, GlassInput } from "../../src/components/ui";
import { colors, spacing, radius, typography } from "../../src/theme";
@@ -71,7 +72,7 @@ export default function ForgotPasswordScreen() {
setIsLoading(false);
if (resetError) {
showError(resetError.message);
showError(getAuthError(resetError));
} else {
setIsEmailSent(true);
setResendCooldown(60);
@@ -92,7 +93,7 @@ export default function ForgotPasswordScreen() {
if (resendError) {
if (Platform.OS !== 'web') {
Alert.alert("Error", resendError.message);
Alert.alert("Error", getAuthError(resendError));
}
} else {
setResendCooldown(60);