Skip to content

Commit

Permalink
add recent destination
Browse files Browse the repository at this point in the history
  • Loading branch information
DylanDylann committed Sep 25, 2023
1 parent 5aa7f6d commit de1db7c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions src/components/AddressSearch/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,7 @@ function AddressSearch(props) {
<Text style={[styles.textLabel, styles.colorMuted, styles.pv4, styles.ph3, styles.overflowAuto]}>{props.translate('common.noResultsFound')}</Text>
)
}
renderHeaderComponent={() => !props.value && props.predefinedPlaces && <Text style={[styles.textLabel, styles.colorMuted, styles.pt2, styles.ph3, styles.overflowAuto]}>Recent destinations</Text>}
onPress={(data, details) => {
saveLocationDetails(data, details);

Expand Down
1 change: 0 additions & 1 deletion src/pages/iou/WaypointEditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,6 @@ function WaypointEditor({transactionID, route: {params: {iouType = '', waypointI
state: null,
}}
predefinedPlaces={recentWaypoints}
resultTypes=""
/>
</View>
</Form>
Expand Down

0 comments on commit de1db7c

Please sign in to comment.