fixed build erors

master
Stuff-etc 2024-03-22 06:29:59 +01:00
parent b72de7fb04
commit 08243fbfdb
2 changed files with 3 additions and 3 deletions

View File

@ -1,8 +1,9 @@
{ {
"id": "counter2", "id": "counter2",
"name": "Counter2", "name": "Counter2",
"version": "0.01", "version": "0.02",
"description": "Dual Counter", "description": "Dual Counter",
"readme":"README.md",
"icon": "counter2-icon.png", "icon": "counter2-icon.png",
"tags": "tool", "tags": "tool",
"supports": ["BANGLEJS2"], "supports": ["BANGLEJS2"],

View File

@ -41,9 +41,8 @@
writeSettings(); writeSettings();
} }
}, },
'Buzz': { 'Vibrate': {
value: settings.buzz, value: settings.buzz,
format: v => v?"On":"Off",
onchange: v => { onchange: v => {
settings.buzz = v; settings.buzz = v;
writeSettings(); writeSettings();