diff --git a/apps.json b/apps.json index 14e12c164..a7657e02f 100644 --- a/apps.json +++ b/apps.json @@ -5635,7 +5635,7 @@ "shortName":"Lato Pedometer", "icon": "screenshot_widpb.png", "screenshots": [{"url":"screenshot_widpb.png"}], - "version":"0.02", + "version":"0.03", "type": "widget", "supports": ["BANGLEJS", "BANGLEJS2"], "readme": "README.md", diff --git a/apps/widpb/ChangeLog b/apps/widpb/ChangeLog index 1409a81ff..c76245df5 100644 --- a/apps/widpb/ChangeLog +++ b/apps/widpb/ChangeLog @@ -1,2 +1,3 @@ 0.01: First release 0.02: Fixed widget id to wibpb, Size widget after step count is reset +0.03: Fixed widget id in onStep() come on get it right! diff --git a/apps/widpb/widpb.wid.js b/apps/widpb/widpb.wid.js index 6129fac51..cd830ae4f 100644 --- a/apps/widpb/widpb.wid.js +++ b/apps/widpb/widpb.wid.js @@ -1,5 +1,5 @@ // on.step version -Bangle.on('step', function(s) { WIDGETS["bata"].draw(); }); +Bangle.on('step', function(s) { WIDGETS["widpb"].draw(); }); Bangle.on('lcdPower', function(on) { if (on) WIDGETS["widpb"].draw(); });