|
| 1 | +import { useStopEstimate } from 'app/data/api_query'; |
| 2 | +import useAppStore from 'app/data/app_state'; |
| 3 | +import { lightMode } from 'app/theme'; |
| 4 | +import moment from 'moment'; |
1 | 5 | import React, { memo } from 'react'; |
2 | | -import { View, Text, ActivityIndicator, Platform } from 'react-native'; |
| 6 | +import { ActivityIndicator, Platform, Text, View } from 'react-native'; |
3 | 7 | import { Callout } from 'react-native-maps'; |
4 | | -import BusIcon from '../ui/BusIcon'; |
5 | 8 | import { IMapRoute, IStop } from '../../../utils/interfaces'; |
6 | | -import { useStopEstimate } from 'app/data/api_query'; |
7 | | -import moment from 'moment'; |
8 | | -import CalloutTimeBubble from '../ui/CalloutTimeBubble'; |
9 | | -import { lightMode } from 'app/theme'; |
10 | 9 | import AmenityRow from '../ui/AmenityRow'; |
11 | | -import useAppStore from 'app/data/app_state'; |
| 10 | +import BusIcon from '../ui/BusIcon'; |
| 11 | +import CalloutTimeBubble from '../ui/CalloutTimeBubble'; |
12 | 12 |
|
13 | 13 | interface Props { |
14 | 14 | stop: IStop; |
@@ -71,7 +71,10 @@ const StopCallout: React.FC<Props> = ({ |
71 | 71 | isCallout={true} |
72 | 72 | style={{ marginRight: 8 }} |
73 | 73 | /> |
74 | | - <Text style={{ flex: 1, fontWeight: 'bold' }} numberOfLines={2}> |
| 74 | + <Text |
| 75 | + style={{ flex: 1, fontWeight: 'bold', color: 'black' }} |
| 76 | + numberOfLines={2} |
| 77 | + > |
75 | 78 | {stop.name} |
76 | 79 | </Text> |
77 | 80 | <AmenityRow |
|
0 commit comments