Skip to content

Commit

Permalink
openstmap: Fix gps widget check
Browse files Browse the repository at this point in the history
  • Loading branch information
nxdefiant committed Jul 4, 2023
1 parent 4a727df commit 60658a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/openstmap/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ Bangle.setGPSPower(1, "app");

if (HASWIDGETS) {
Bangle.loadWidgets();
if (WIDGETS["GPS"]) { // one GPS Widget is enough
if (!WIDGETS["gps"]) { // one GPS Widget is enough
WIDGETS["sats"] = { area:"tl", width:48, draw:w=>{
var txt = (0|fix.satellites)+" Sats";
if (!fix.fix) txt += "\nNO FIX";
Expand Down

0 comments on commit 60658a7

Please sign in to comment.