Skip to content

Commit

Permalink
fix: google maps redirection coordinates
Browse files Browse the repository at this point in the history
  • Loading branch information
geeekgod committed Mar 19, 2023
1 parent 14ccbad commit b7e81de
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"ACCESS_FINE_LOCATION",
"FOREGROUND_SERVICE"
],
"versionCode": 10
"versionCode": 11
},
"web": {
"favicon": "./assets/favicon.png"
Expand Down
2 changes: 1 addition & 1 deletion app/screens/Home/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ const Home = () => {
fontSize='xl'
rounded='xl'
onPress={() => {
Linking.openURL(`https://maps.google.com/maps?q=${item.location.lat},${item.location.long}`)
Linking.openURL(`https://maps.google.com/maps?q=${item.location[1]},${item.location[0]}`)
}}
>
Donate
Expand Down
2 changes: 1 addition & 1 deletion app/screens/NearByRequests/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ const NearByRequests = () => {
rounded="xl"
onPress={() => {
Linking.openURL(
`https://maps.google.com/maps?q=${item.location.lat},${item.location.long}`
`https://maps.google.com/maps?q=${item.location[1]},${item.location[0]}`
);
}}
>
Expand Down
2 changes: 1 addition & 1 deletion app/screens/SavedRequests/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ const SavedRequests = () => {
fontSize='xl'
rounded='xl'
onPress={() => {
Linking.openURL(`https://maps.google.com/maps?q=${item.location.lat},${item.location.long}`)
Linking.openURL(`https://maps.google.com/maps?q=${item.location[1]},${item.location[0]}`)
}}
>
Donate
Expand Down

0 comments on commit b7e81de

Please sign in to comment.