Fixed another bug
parent
c2b93e3325
commit
e81b6a2dac
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"id": "chimer",
|
"id": "chimer",
|
||||||
"name": "Chimer",
|
"name": "Chimer",
|
||||||
"version": "0.02",
|
"version": "0.01",
|
||||||
"description": "A fork of Hour Chime. Buzz or beep on every 60, 30 or 15 minutes.",
|
"description": "A fork of Hour Chime. Buzz or beep on every 60, 30 or 15 minutes.",
|
||||||
"icon": "widget.png",
|
"icon": "widget.png",
|
||||||
"type": "widget",
|
"type": "widget",
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,7 @@ var showMainMenu = () => {
|
||||||
"Frequency": {
|
"Frequency": {
|
||||||
value: settings.freq,
|
value: settings.freq,
|
||||||
min: 0, max: 2,
|
min: 0, max: 2,
|
||||||
format: v => v,
|
format: v => frequency[v],
|
||||||
onchange: v => {
|
onchange: v => {
|
||||||
settings.freq = v;
|
settings.freq = v;
|
||||||
writeSettings(settings);
|
writeSettings(settings);
|
||||||
|
|
@ -37,7 +37,7 @@ var showMainMenu = () => {
|
||||||
"Repetition": {
|
"Repetition": {
|
||||||
value: settings.repeat,
|
value: settings.repeat,
|
||||||
min: 1, max: 3,
|
min: 1, max: 3,
|
||||||
format: v => frequency[v],
|
format: v => v,
|
||||||
onchange: v => {
|
onchange: v => {
|
||||||
settings.repeat = v;
|
settings.repeat = v;
|
||||||
writeSettings(settings);
|
writeSettings(settings);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue