fix social-app ios patch rm create account
This commit is contained in:
51
ios/patching/031-social-app-ios-hide-create-account.patch
Normal file
51
ios/patching/031-social-app-ios-hide-create-account.patch
Normal file
@@ -0,0 +1,51 @@
|
||||
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}
|
||||
Reference in New Issue
Block a user