Changed setWatch to Bangle.setUI

master
Gordon Williams 2021-06-24 15:13:45 +01:00
parent e54466d7b3
commit e4dc3e7afd
5 changed files with 10 additions and 7 deletions

View File

@ -338,9 +338,9 @@
{ "id": "geissclk", { "id": "geissclk",
"name": "Geiss Clock", "name": "Geiss Clock",
"icon": "clock.png", "icon": "clock.png",
"version":"0.02", "version":"0.03",
"description": "7 segment clock with animated background in the style of Ryan Geiss' music visualisation. NOTE: The first run will take ~1 minute to do some precalculation", "description": "7 segment clock with animated background in the style of Ryan Geiss' music visualisation. NOTE: The first run will take ~1 minute to do some precalculation",
"tags": "clock", "tags": "clock,nob2",
"type":"clock", "type":"clock",
"storage": [ "storage": [
{"name":"geissclk.app.js","url":"clock.js"}, {"name":"geissclk.app.js","url":"clock.js"},
@ -2030,9 +2030,9 @@
"name": "Time Traveller's Chronometer", "name": "Time Traveller's Chronometer",
"shortName": "Time Travel Clock", "shortName": "Time Travel Clock",
"icon": "gallifr.png", "icon": "gallifr.png",
"version": "0.01", "version": "0.02",
"description": "A clock for time travellers. The light pie segment shows the minutes, the black circle, the hour. The dial itself reads 'time' just in case you forget.", "description": "A clock for time travellers. The light pie segment shows the minutes, the black circle, the hour. The dial itself reads 'time' just in case you forget.",
"tags": "clock", "tags": "clock,b2",
"readme": "README.md", "readme": "README.md",
"type": "clock", "type": "clock",
"allow_emulator":true, "allow_emulator":true,

View File

@ -1 +1,2 @@
0.01: First released version 0.01: First released version
0.02: Changed setWatch to Bangle.setUI

View File

@ -243,5 +243,5 @@ startTimers();
Bangle.loadWidgets(); Bangle.loadWidgets();
drawAll(); drawAll();
// Show launcher when middle button pressed // Show launcher when button pressed
setWatch(Bangle.showLauncher, BTN2, { repeat: false, edge: "falling" }); Bangle.setUI("clock");

View File

@ -1,2 +1,3 @@
0.01: New App! 0.01: New App!
0.02: BTN2->launcher, use smaller text to allow "20:00" to fit on screen 0.02: BTN2->launcher, use smaller text to allow "20:00" to fit on screen
0.03: Changed setWatch to Bangle.setUI

View File

@ -148,4 +148,5 @@ Bangle.drawWidgets();
iterate(); iterate();
animInterval = setInterval(iterate, 50); animInterval = setInterval(iterate, 50);
setWatch(Bangle.showLauncher, BTN2, {repeat:false,edge:"falling"}); // Show launcher when button pressed
Bangle.setUI("clock");