Skip to content

Commit

Permalink
Minor bug fixes in Share and Overlap features (Path-Check#265)
Browse files Browse the repository at this point in the history
  • Loading branch information
tremblerz authored and SamMakesThings committed Mar 31, 2020
1 parent 90ea69c commit 24b7356
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/views/Export.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ function ExportScreen() {

async function OnShare() {
try {
let locationData = await new LocationData.getLocationData();
let locationData = await new LocationData().getLocationData();

const jsonData = base64.encode(JSON.stringify(locationData));
const title = 'PrivateKit_.json';
Expand Down
2 changes: 1 addition & 1 deletion app/views/Overlap.js
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ class OverlapScreen extends Component {
const dist_threshold = 2000; //In KMs
const latestLat = this.state.initialRegion.latitude;
const latestLong = this.state.initialRegion.longitude;
const index = 0;
var index = 0;

for (const key in records) {
const latitude = parseFloat(key.split('|')[0]);
Expand Down

0 comments on commit 24b7356

Please sign in to comment.