apply shadow directly to button

This commit is contained in:
Samuel Newman
2026-01-30 09:11:50 +02:00
parent 4b86444bd8
commit b5b26a5478
+16 -18
View File
@@ -79,7 +79,18 @@ export const SplashScreen = ({
<View
testID="signinOrCreateAccount"
style={[a.px_5xl, a.gap_md, a.pb_sm]}>
<View
<Button
testID="createAccountButton"
onPress={() => {
onPressCreateAccount()
playHaptic('Light')
}}
label={_(msg`Create new account`)}
accessibilityHint={_(
msg`Opens flow to create a new Bluesky account`,
)}
size="large"
color={isDarkMode ? 'secondary_inverted' : 'secondary'}
style={[
t.atoms.shadow_md,
{
@@ -90,23 +101,10 @@ export const SplashScreen = ({
},
},
]}>
<Button
testID="createAccountButton"
onPress={() => {
onPressCreateAccount()
playHaptic('Light')
}}
label={_(msg`Create new account`)}
accessibilityHint={_(
msg`Opens flow to create a new Bluesky account`,
)}
size="large"
color={isDarkMode ? 'secondary_inverted' : 'secondary'}>
<ButtonText>
<Trans>Create account</Trans>
</ButtonText>
</Button>
</View>
<ButtonText>
<Trans>Create account</Trans>
</ButtonText>
</Button>
<Button
testID="signInButton"