Skip to content

Commit 2bcbfa3

Browse files
author
thyttan
committed
smpltmr: adapt to new setui
btn -> btnRelease as to not fire unintentionally when long pressing the button to reset the watch.
1 parent d376a7a commit 2bcbfa3

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

apps/smpltmr/ChangeLog

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@
77
0.07: Update clock_info to avoid a redraw
88
0.08: Timer ClockInfo now updates once a minute
99
0.09: Timer ClockInfo resets to timer menu when blurred
10-
0.10: Timer ClockInfo now uses +- icons, and changes timer from 'T-5 min' to just '5 min' to aid readability
10+
0.10: Timer ClockInfo now uses +- icons, and changes timer from 'T-5 min' to just '5 min' to aid readability
11+
0.11: Fix to handle updated firmware on fw 2v25 (or cutting edge >2v24.164), btn -> btnRelease. The timer would fire on long press before the watch reset.

apps/smpltmr/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ Bangle.setUI({
177177
mode : "custom",
178178
touch : function(n,e) {onTouch(n,e);},
179179
drag : function(e) {onDrag(e);},
180-
btn : function(n) {onButton();},
180+
btnRelease : function(n) {onButton();},
181181
});
182182

183183
g.clearRect(Bangle.appRect);

apps/smpltmr/metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"id": "smpltmr",
33
"name": "Simple Timer",
44
"shortName": "Simple Timer",
5-
"version": "0.10",
5+
"version": "0.11",
66
"description": "A very simple app to start a timer.",
77
"icon": "app.png",
88
"tags": "tool,alarm,timer,clkinfo",

0 commit comments

Comments
 (0)