Skip to content

Commit

Permalink
Add indicator when no shuttle route is present
Browse files Browse the repository at this point in the history
  • Loading branch information
c3bryant committed Sep 5, 2017
1 parent 341e55b commit 27443b7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/views/shuttle/ShuttleOverview.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ const ShuttleOverview = ({ onPress, stopData, closest }) => {
<View style={styles.bigCircles}>

<View style={styles.stopNameCircle}>
<Text style={styles.shortNameText}>
<Text style={[styles.shortNameText, styles.shortNameTextLoading]}>
?
</Text>
</View>

Expand Down Expand Up @@ -128,6 +129,7 @@ const styles = StyleSheet.create({
bigCircles: { flexDirection: 'row', alignItems: 'stretch', justifyContent: 'center', margin: 20, height: 83 },
shortNameCircle: { borderRadius: 50, width: 83, justifyContent: 'center', overflow: 'hidden', padding: 2 },
shortNameText: { textAlign: 'center', color: COLOR_BLACK, fontWeight: '600', fontSize: 48, backgroundColor: 'transparent' },
shortNameTextLoading: { color: COLOR_DGREY },
atContainer: { flexGrow: 3, justifyContent: 'center', alignItems: 'center' },
atText: { textAlign: 'center', color: COLOR_DGREY, fontSize: 30, fontWeight: '300', backgroundColor: 'transparent' },
stopNameCircle: { borderRadius: 48, borderWidth: 1, backgroundColor: COLOR_WHITE, borderColor: COLOR_MGREY, width: 83, justifyContent: 'center', padding: 2 },
Expand Down

0 comments on commit 27443b7

Please sign in to comment.