ai/at
1
0

fix ios patch refact

This commit is contained in:
2026-03-12 23:07:45 +09:00
parent 669f529481
commit 00b1b5ce1e
21 changed files with 344 additions and 546 deletions

View File

@@ -1,6 +1,6 @@
--- a/src/screens/Signup/StepInfo/index.tsx
+++ b/src/screens/Signup/StepInfo/index.tsx
@@ -8,46 +8,18 @@
@@ -9,46 +9,18 @@
import {isEmailMaybeInvalid} from '#/lib/strings/email'
import {logger} from '#/logger'
import {useSignupContext} from '#/screens/Signup/state'
@@ -47,7 +47,7 @@
export function StepInfo({
onPressBack,
isServerError,
@@ -72,22 +44,7 @@
@@ -73,22 +45,7 @@
const emailInputRef = useRef<TextInput>(null)
const passwordInputRef = useRef<TextInput>(null)
@@ -67,10 +67,10 @@
- : true
- const isDeviceGeolocationGranted = useIsDeviceGeolocationGranted()
-
const [hasWarnedEmail, setHasWarnedEmail] = React.useState<boolean>(false)
const [hasWarnedEmail, setHasWarnedEmail] = useState<boolean>(false)
const tldtsRef = React.useRef<typeof tldts>(undefined)
@@ -107,10 +64,6 @@
const tldtsRef = useRef<typeof tldts>(undefined)
@@ -108,10 +65,6 @@
const emailChanged = prevEmailValueRef.current !== email
const password = passwordValueRef.current
@@ -81,7 +81,7 @@
if (state.serviceDescription?.inviteCodeRequired && !inviteCode) {
return dispatch({
type: 'setError',
@@ -273,107 +226,16 @@
@@ -274,107 +227,16 @@
secureTextEntry
autoComplete="new-password"
autoCapitalize="none"