fix: simpletimer - BTN2 to open launcher
parent
0df077db55
commit
3148a59dc6
|
|
@ -1633,7 +1633,7 @@
|
|||
"id": "simpletimer",
|
||||
"name": "Timer",
|
||||
"icon": "app.png",
|
||||
"version": "0.02",
|
||||
"version": "0.03",
|
||||
"description": "Simple timer, useful when playing board games or cooking",
|
||||
"tags": "timer",
|
||||
"readme": "README.md",
|
||||
|
|
|
|||
|
|
@ -1,2 +1,3 @@
|
|||
0.01: Initial version
|
||||
0.02: Reset with gesture
|
||||
0.03: BTN2 to open launcher
|
||||
|
|
|
|||
|
|
@ -111,6 +111,7 @@ function reset(value) {
|
|||
state = value === 0 ? "unset" : "set";
|
||||
}
|
||||
|
||||
setWatch(Bangle.showLauncher, BTN2, { repeat: false, edge: "falling" });
|
||||
function addWatch() {
|
||||
clearWatch();
|
||||
setWatch(changeState, BTN1, {
|
||||
|
|
|
|||
Loading…
Reference in New Issue