1
0
mirror of https://github.com/tooot-app/app synced 2025-06-05 22:19:13 +02:00

Temp visual fix

This commit is contained in:
xmflsct
2022-08-19 12:22:30 +02:00
parent 1bcdc9fa93
commit d1a737eb51
2 changed files with 13 additions and 31 deletions

View File

@ -22,12 +22,7 @@ const HeaderCenter: React.FC<Props> = ({
const { colors } = useTheme()
return (
<View
style={{
flexDirection: 'row',
alignItems: 'center'
}}
>
<View style={{ flexDirection: 'row', alignItems: 'center' }}>
<CustomText
style={{
color: inverted ? colors.primaryOverlay : colors.primaryDefault
@ -38,15 +33,13 @@ const HeaderCenter: React.FC<Props> = ({
children={content}
{...(onPress && { onPress })}
/>
{dropdown ? (
<Icon
name='ChevronDown'
size={StyleConstants.Font.Size.M}
color={colors.primaryDefault}
style={{ marginLeft: StyleConstants.Spacing.XS }}
strokeWidth={3}
/>
) : null}
<Icon
name='ChevronDown'
size={StyleConstants.Font.Size.M}
color={colors.primaryDefault}
style={{ marginLeft: StyleConstants.Spacing.XS, opacity: dropdown ? undefined : 0 }}
strokeWidth={3}
/>
</View>
)
}