diff --git a/package-lock.json b/package-lock.json index ea1726f..4c12c10 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "pubtrail", - "version": "1.0.2", + "version": "1.0.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "pubtrail", - "version": "1.0.2", + "version": "1.0.3", "dependencies": { "@react-native-async-storage/async-storage": "3.0.2", "@react-native-async-storage/expo-with-async-storage": "^1.0.0", diff --git a/package.json b/package.json index 42954c8..7bcdfbf 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "main": "expo-router/entry", - "version": "1.0.2", + "version": "1.0.3", "name": "pubtrail", "scripts": { "native:clean": "npx expo prebuild --clean", diff --git a/src/utils/geo.ts b/src/utils/geo.ts index 461f6e1..b8387b4 100644 --- a/src/utils/geo.ts +++ b/src/utils/geo.ts @@ -13,7 +13,7 @@ export const DEFAULT_LOCATION: GeoCoordinates = { latitude: 59.3293 }; -const EARTH_RADIUS_METERS = 6371000; +const EARTH_RADIUS_METERS = 6371; function toRadians(value: number): number { return (value * Math.PI) / 180;