diff --git a/apps/bwclk/ChangeLog b/apps/bwclk/ChangeLog index 6a71769f3..33cd7ef63 100644 --- a/apps/bwclk/ChangeLog +++ b/apps/bwclk/ChangeLog @@ -27,4 +27,5 @@ 0.26: Use clkinfo.addInteractive instead of a custom implementation 0.27: Clean out some leftovers in the remove function after switching to clkinfo.addInteractive that would cause ReferenceError. -0.28: Option to show (1) time only and (2) week of year. \ No newline at end of file +0.28: Option to show (1) time only and (2) week of year. +0.29: use setItem of clockInfoMenu to change the active item \ No newline at end of file diff --git a/apps/bwclk/app.js b/apps/bwclk/app.js index 67ed86552..c2518361b 100644 --- a/apps/bwclk/app.js +++ b/apps/bwclk/app.js @@ -327,9 +327,7 @@ Bangle.on('lock', lockListenerBw); let charging = function(charging){ // Jump to battery - clockInfoMenu.menuA = 0; - clockInfoMenu.menuB = 2; - clockInfoMenu.redraw(); + clockInfoMenu.setItem(0, 2); drawTime(); } Bangle.on('charging', charging); diff --git a/apps/bwclk/metadata.json b/apps/bwclk/metadata.json index 7c5d285e3..a29102bdf 100644 --- a/apps/bwclk/metadata.json +++ b/apps/bwclk/metadata.json @@ -1,7 +1,7 @@ { "id": "bwclk", "name": "BW Clock", - "version": "0.28", + "version": "0.29", "description": "A very minimalistic clock.", "readme": "README.md", "icon": "app.png",