Skip to content

Commit

Permalink
fix: return properly
Browse files Browse the repository at this point in the history
  • Loading branch information
Atala committed Feb 25, 2025
1 parent 10aac6c commit 4fe481c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/redux/middlewares/GeolocationMiddleware/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const willDiscloseBackgroundPermission = (hasDisclosedBackgroundPermission) => {
// launch the geolocation service if he accepted once
// otherwise ask him again, as riders most likely want background geolocation to kick in
else if (hasDisclosedBackgroundPermission) {
resolve(true)
return resolve(true)
}

// Show Play Store compatibility alert.
Expand Down

0 comments on commit 4fe481c

Please sign in to comment.