normalise subscribe to labeller button size

This commit is contained in:
Samuel Newman
2024-05-18 21:13:03 +01:00
parent 15ecf70e9e
commit efdc534e14
@@ -128,7 +128,7 @@ let ProfileHeaderLabeler = ({
const onPressSubscribe = React.useCallback( const onPressSubscribe = React.useCallback(
() => () =>
requireAuth(async () => { requireAuth(async (): Promise<void> => {
if (!canSubscribe) { if (!canSubscribe) {
cantSubscribePrompt.open() cantSubscribePrompt.open()
return return
@@ -197,7 +197,6 @@ let ProfileHeaderLabeler = ({
<View <View
style={[ style={[
{ {
paddingVertical: 12,
backgroundColor: backgroundColor:
isSubscribed || !canSubscribe isSubscribed || !canSubscribe
? state.hovered || state.pressed ? state.hovered || state.pressed
@@ -207,7 +206,8 @@ let ProfileHeaderLabeler = ({
? tokens.color.temp_purple_dark ? tokens.color.temp_purple_dark
: tokens.color.temp_purple, : tokens.color.temp_purple,
}, },
a.px_lg, a.py_sm,
a.px_md,
a.rounded_sm, a.rounded_sm,
a.gap_sm, a.gap_sm,
]}> ]}>