mirror of https://github.com/espruino/BangleApps
TeaTimer 0.6
- add newline to header so time is not split - save counter before leaving the help screen, so it does not get resetpull/3339/head
parent
aff05dc4e5
commit
1217cf360c
|
@ -3,3 +3,4 @@
|
|||
0.03: Fix BG/FG Color if e.g. theme background is black
|
||||
0.04: Get time zone from settings for showing the clock
|
||||
0.05: Minor code improvements
|
||||
0.06: Adjust format of title, save counter before leaving help screen
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Tea Timer app
|
||||
|
||||
A simple timer. You can easyly set up the time. The initial time is 2:30
|
||||
A simple timer. You can easily set up the time. The initial time is 2:30
|
||||
|
||||
On the first screen, you can
|
||||
- tap to get help
|
||||
|
|
|
@ -18,7 +18,7 @@ E.setTimeZone(setting.timezone);
|
|||
|
||||
// Title showing current time
|
||||
function appTitle() {
|
||||
return "Tea Timer " + currentTime();
|
||||
return "Tea Timer\n" + currentTime();
|
||||
}
|
||||
|
||||
function currentTime() {
|
||||
|
@ -28,7 +28,7 @@ function currentTime() {
|
|||
}
|
||||
|
||||
function timeFormated(sec) {
|
||||
var min = Math.floor(sec / 60);
|
||||
let min = Math.floor(sec / 60);
|
||||
sec = sec % 60;
|
||||
if (sec < 10) sec = "0" + sec;
|
||||
return min + ":" + sec;
|
||||
|
@ -223,6 +223,7 @@ function showHelp() {
|
|||
}
|
||||
// return to start
|
||||
else if (state == states.help) {
|
||||
counterStart = counter;
|
||||
initTimer();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
{
|
||||
"id": "teatimer",
|
||||
"name": "Tea Timer",
|
||||
"version": "0.05",
|
||||
"description": "A simple timer. You can easyly set up the time.",
|
||||
"version": "0.06",
|
||||
"description": "A simple timer. You can easily set up the time.",
|
||||
"icon": "teatimer.png",
|
||||
"type": "app",
|
||||
"tags": "tool",
|
||||
|
|
Loading…
Reference in New Issue