Bluesky app fork with some witchin' additions 💫

prevent webview from showing during device attest (#9425)

authored by samuel.fm and committed by

GitHub 2792b4ce f5a5eee3

+4
+3
src/screens/Signup/StepCaptcha/CaptchaWebView.tsx
··· 21 21 url, 22 22 stateParam, 23 23 state, 24 + onComplete, 24 25 onSuccess, 25 26 onError, 26 27 }: { 27 28 url: string 28 29 stateParam: string 29 30 state?: SignupState 31 + onComplete: () => void 30 32 onSuccess: (code: string) => void 31 33 onError: (error: unknown) => void 32 34 }) { ··· 71 73 72 74 // We want to delay the completion of this screen ever so slightly so that it doesn't appear to be a glitch if it completes too fast 73 75 wasSuccessful.current = true 76 + onComplete() 74 77 const now = Date.now() 75 78 const timeTaken = now - startedAt.current 76 79 if (timeTaken < MIN_DELAY) {
+1
src/screens/Signup/StepCaptcha/index.tsx
··· 156 156 url={url} 157 157 stateParam={stateParam} 158 158 state={state} 159 + onComplete={() => setCompleted(true)} 159 160 onSuccess={onSuccess} 160 161 onError={onError} 161 162 />