Add date and time settings
parent
f35a7e5097
commit
b8a8d9bbd7
|
|
@ -3,7 +3,7 @@
|
||||||
"name": "Dutch Clock",
|
"name": "Dutch Clock",
|
||||||
"shortName":"Dutch Clock",
|
"shortName":"Dutch Clock",
|
||||||
"icon": "app.png",
|
"icon": "app.png",
|
||||||
"version":"0.04",
|
"version":"0.05",
|
||||||
"description": "A clock that displays the time the way a Dutch person would respond when asked what time it is.",
|
"description": "A clock that displays the time the way a Dutch person would respond when asked what time it is.",
|
||||||
"type": "clock",
|
"type": "clock",
|
||||||
"tags": "clock,dutch,text",
|
"tags": "clock,dutch,text",
|
||||||
|
|
|
||||||
|
|
@ -46,8 +46,18 @@
|
||||||
getOption('Hybrid', 'variant', VARIANT_HYBRID),
|
getOption('Hybrid', 'variant', VARIANT_HYBRID),
|
||||||
{
|
{
|
||||||
title: 'Show widgets?',
|
title: 'Show widgets?',
|
||||||
value: settings.showWidgets ?? true,
|
value: settings.showWidgets,
|
||||||
onchange: v => writeSetting('showWidgets', v)
|
onchange: v => writeSetting('showWidgets', v)
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: 'Show time?',
|
||||||
|
value: settings.showTime,
|
||||||
|
onchange: v => writeSetting('showTime', v)
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: 'Show date?',
|
||||||
|
value: settings.showDate,
|
||||||
|
onchange: v => writeSetting('showDate', v)
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue