Skip to content

Commit

Permalink
add changes for android native.
Browse files Browse the repository at this point in the history
Signed-off-by: krishna2323 <[email protected]>
  • Loading branch information
Krishna2323 committed Sep 5, 2024
1 parent 24f754e commit 937e6c2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/LocationPermissionModal/index.android.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@ function LocationPermissionModal({startPermissionFlow, resetPermissionFlow, onDe
isVisible={showModal}
onConfirm={grantLocationPermission}
onCancel={skipLocationPermission}
onBackdropPress={() => {
setShowModal(false);
resetPermissionFlow();
}}
confirmText={hasError ? translate('common.settings') : translate('common.continue')}
cancelText={translate('common.notNow')}
prompt={translate(hasError ? 'receipt.locationErrorMessage' : 'receipt.locationAccessMessage')}
Expand Down

0 comments on commit 937e6c2

Please sign in to comment.