Skip to content

Commit dec9265

Browse files
PalaashPandeybwees
authored andcommitted
fix: made bus callout "to: " text visible on android
1 parent 3805091 commit dec9265

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

app/components/map/BusCallout.tsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import React, { memo } from 'react';
2-
import { View, Text, Platform } from 'react-native';
2+
import { Platform, Text, View } from 'react-native';
33
import { Callout } from 'react-native-maps';
44
import { IAmenity } from '../../../utils/interfaces';
5-
import BusIcon from '../ui/BusIcon';
65
import AmenityRow from '../ui/AmenityRow';
6+
import BusIcon from '../ui/BusIcon';
77
interface Props {
88
directionName: string;
99
fullPercentage: number;
@@ -80,7 +80,9 @@ const BusCallout: React.FC<Props> = ({
8080
}}
8181
>
8282
<Text style={{ fontWeight: '700', color: tintColor }}>To: </Text>
83-
<Text style={{ fontSize: 14, marginLeft: 2 }}>{directionName}</Text>
83+
<Text style={{ fontSize: 14, marginLeft: 2, color: 'black' }}>
84+
{directionName}
85+
</Text>
8486
</Text>
8587
)}
8688
<View style={{ flexDirection: 'row', justifyContent: 'space-between' }}>

0 commit comments

Comments
 (0)