Skip to content

Commit

Permalink
transparent color for linear gradient distance req
Browse files Browse the repository at this point in the history
  • Loading branch information
Pujan92 committed Sep 4, 2023
1 parent f77a5a5 commit 80b57e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/DistanceRequest.js
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ function DistanceRequest({iou, iouType, report, transaction, mapboxAccessToken})
{shouldShowGradient && (
<LinearGradient
style={[styles.pAbsolute, styles.b0, styles.l0, styles.r0, {height: halfMenuItemHeight}]}
colors={[theme.transparent, theme.modalBackground]}
colors={[`${theme.modalBackground}00`, theme.modalBackground]}
/>
)}
{hasRouteError && (
Expand Down

0 comments on commit 80b57e6

Please sign in to comment.