Skip to content

Commit 9392e04

Browse files
authored
Update boot.js
1 parent 0e70e0a commit 9392e04

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

apps/phoneremind/boot.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
let locationsFile = "phoneremind.json";
33
let connected;
4+
let buzzInterval;
45
let promptShown = false;
56
let addLocation = function (location) {
67

@@ -51,9 +52,7 @@
5152
var locs = getAllLocations();
5253
print(locs);
5354
var useGPS = false;
54-
if (useGPS) {
55-
56-
} else {
55+
if (!useGPS) {
5756

5857
myLocation = getMyLocation();
5958
var convLoc = convertCoordsToMeters(myLocation.lat, myLocation.lon)

0 commit comments

Comments
 (0)