ai/at
1
0
Files
at/ios/patching/031-social-app-ios-hide-create-account.patch

52 lines
2.0 KiB
Diff

diff --git a/src/view/com/auth/SplashScreen.tsx b/src/view/com/auth/SplashScreen.tsx
--- a/src/view/com/auth/SplashScreen.tsx
+++ b/src/view/com/auth/SplashScreen.tsx
@@ -46,23 +46,6 @@ export const SplashScreen = ({
<View
testID="signinOrCreateAccount"
style={[a.px_xl, a.gap_md, a.pb_2xl]}>
- <Button
- testID="createAccountButton"
- onPress={() => {
- onPressCreateAccount()
- playHaptic('Light')
- }}
- label={_(msg`Create new account`)}
- accessibilityHint={_(
- msg`Opens flow to create a new Bluesky account`,
- )}
- size="large"
- variant="solid"
- color="primary">
- <ButtonText>
- <Trans>Create account</Trans>
- </ButtonText>
- </Button>
<Button
testID="signInButton"
onPress={() => {
diff --git a/src/view/com/auth/SplashScreen.web.tsx b/src/view/com/auth/SplashScreen.web.tsx
--- a/src/view/com/auth/SplashScreen.web.tsx
+++ b/src/view/com/auth/SplashScreen.web.tsx
@@ -97,20 +97,6 @@ export const SplashScreen = ({
<View
testID="signinOrCreateAccount"
style={[a.w_full, a.px_xl, a.gap_md, a.pb_2xl, {maxWidth: 320}]}>
- <Button
- testID="createAccountButton"
- onPress={onPressCreateAccount}
- label={_(msg`Create new account`)}
- accessibilityHint={_(
- msg`Opens flow to create a new Bluesky account`,
- )}
- size="large"
- variant="solid"
- color="primary">
- <ButtonText>
- <Trans>Create account</Trans>
- </ButtonText>
- </Button>
<Button
testID="signInButton"
onPress={onPressSignin}