Skip to content

Commit

Permalink
make touch target bigger for map location button
Browse files Browse the repository at this point in the history
  • Loading branch information
bwees committed Aug 30, 2024
1 parent f93a96e commit 779cd97
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/components/map/MapView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -426,11 +426,10 @@ const Map: React.FC = () => {
overflow: 'hidden',
borderRadius: 8,
backgroundColor: theme.background,
padding: 12,
zIndex: 1000,
}}
>
<TouchableOpacity onPress={() => recenterView()}>
<TouchableOpacity onPress={() => recenterView()} style={{ padding: 12 }}>
{isViewCenteredOnUser ?
<MaterialIcons name="my-location" size={24} color="gray" />
:
Expand Down

0 comments on commit 779cd97

Please sign in to comment.