use setItem of clock_info
parent
db17b225d0
commit
c5d6b24815
|
|
@ -27,4 +27,5 @@
|
||||||
0.26: Use clkinfo.addInteractive instead of a custom implementation
|
0.26: Use clkinfo.addInteractive instead of a custom implementation
|
||||||
0.27: Clean out some leftovers in the remove function after switching to
|
0.27: Clean out some leftovers in the remove function after switching to
|
||||||
clkinfo.addInteractive that would cause ReferenceError.
|
clkinfo.addInteractive that would cause ReferenceError.
|
||||||
0.28: Option to show (1) time only and (2) week of year.
|
0.28: Option to show (1) time only and (2) week of year.
|
||||||
|
0.29: use setItem of clockInfoMenu to change the active item
|
||||||
|
|
@ -327,9 +327,7 @@ Bangle.on('lock', lockListenerBw);
|
||||||
|
|
||||||
let charging = function(charging){
|
let charging = function(charging){
|
||||||
// Jump to battery
|
// Jump to battery
|
||||||
clockInfoMenu.menuA = 0;
|
clockInfoMenu.setItem(0, 2);
|
||||||
clockInfoMenu.menuB = 2;
|
|
||||||
clockInfoMenu.redraw();
|
|
||||||
drawTime();
|
drawTime();
|
||||||
}
|
}
|
||||||
Bangle.on('charging', charging);
|
Bangle.on('charging', charging);
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"id": "bwclk",
|
"id": "bwclk",
|
||||||
"name": "BW Clock",
|
"name": "BW Clock",
|
||||||
"version": "0.28",
|
"version": "0.29",
|
||||||
"description": "A very minimalistic clock.",
|
"description": "A very minimalistic clock.",
|
||||||
"readme": "README.md",
|
"readme": "README.md",
|
||||||
"icon": "app.png",
|
"icon": "app.png",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue