diff --git a/apps/recorder/widget.js b/apps/recorder/widget.js index 7fc46bc6ad4..f9a6746f2cf 100644 --- a/apps/recorder/widget.js +++ b/apps/recorder/widget.js @@ -198,7 +198,7 @@ // Called by the GPS app to reload settings and decide what to do let reload = function() { var settings = loadSettings(); - if (writeSetup && !writeSetup===true) clearInterval(writeSetup); + if (writeSetup && writeSetup!==true) clearInterval(writeSetup); writeSetup = undefined; Bangle.removeListener('GPS', writeOnGPS);