Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor bug fixes in Share and Overlap features #265

Merged
merged 9 commits into from
Mar 29, 2020
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