From 1d829060abded4ea3ebe4c540d9aa5b0faa6cecd Mon Sep 17 00:00:00 2001 From: Andrew Rosiclair Date: Thu, 21 Sep 2023 11:54:14 +0800 Subject: [PATCH] Merge pull request #27908 from Expensify/neil-distance-offline Allow creating distance requests while offline (cherry picked from commit ca487695eac3aaa8c7c23e3caa72614cd229d538) --- src/components/DistanceRequest.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/DistanceRequest.js b/src/components/DistanceRequest.js index 966f700e25d4..2fbbbed65eeb 100644 --- a/src/components/DistanceRequest.js +++ b/src/components/DistanceRequest.js @@ -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')} />