Skip to content

Commit

Permalink
Merge pull request #27908 from Expensify/neil-distance-offline
Browse files Browse the repository at this point in the history
Allow creating distance requests while offline
  • Loading branch information
arosiclair authored Sep 21, 2023
2 parents 832a12b + 6a54506 commit ca48769
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 @@ -294,7 +294,7 @@ function DistanceRequest({iou, iouType, report, transaction, mapboxAccessToken,
success
style={[styles.w100, styles.mb4, styles.ph4, styles.flexShrink0]}
onPress={navigateToNextPage}
isDisabled={_.size(validatedWaypoints) < 2 || hasRouteError || isOffline}
isDisabled={_.size(validatedWaypoints) < 2 || hasRouteError}
text={translate('common.next')}
/>
</ScrollView>
Expand Down

0 comments on commit ca48769

Please sign in to comment.