Skip to content

Commit

Permalink
nav: unset pressStyle on navicons
Browse files Browse the repository at this point in the history
  • Loading branch information
patosullivan committed Nov 13, 2024
1 parent b05abba commit 8d6c9f1
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion packages/ui/src/components/NavBar/NavIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,13 @@ export function AvatarNavIcon({
onPress?: () => void;
}) {
return (
<Pressable flex={1} onPress={onPress} alignItems="center" paddingTop={'$s'}>
<Pressable
flex={1}
onPress={onPress}
alignItems="center"
paddingTop={'$s'}
pressStyle={{ backgroundColor: 'unset' }}
>
<ContactAvatar
size={'custom'}
width={20}
Expand Down Expand Up @@ -51,6 +57,7 @@ export default function NavIcon({
backgroundColor={backgroundColor}
alignItems="center"
flex={1}
pressStyle={{ backgroundColor: 'unset' }}
onPress={onPress}
>
<Icon
Expand Down

0 comments on commit 8d6c9f1

Please sign in to comment.