cogclock: ClockFace update: Hide widgets instead of not loading them

pull/2469/head
Richard de Boer 2023-01-07 17:00:24 +01:00
parent 99c575f09b
commit 2512268b98
No known key found for this signature in database
3 changed files with 3 additions and 2 deletions

View File

@ -1,3 +1,4 @@
0.01: New clock 0.01: New clock
0.02: Use ClockFace library, add settings 0.02: Use ClockFace library, add settings
0.03: Use ClockFace_menu.addSettingsFile 0.03: Use ClockFace_menu.addSettingsFile
0.04: Hide widgets instead of not loading them at all

View File

@ -1,7 +1,7 @@
{ {
"id": "cogclock", "id": "cogclock",
"name": "Cog Clock", "name": "Cog Clock",
"version": "0.03", "version": "0.04",
"description": "A cross-shaped clock inside a cog", "description": "A cross-shaped clock inside a cog",
"icon": "icon.png", "icon": "icon.png",
"screenshots": [{"url":"screenshot.png"}], "screenshots": [{"url":"screenshot.png"}],

View File

@ -4,7 +4,7 @@
/*LANG*/"< Back": back, /*LANG*/"< Back": back,
}; };
require("ClockFace_menu").addSettingsFile(menu, "cogclock.settings.json", [ require("ClockFace_menu").addSettingsFile(menu, "cogclock.settings.json", [
"showDate", "loadWidgets" "showDate", "hideWidgets"
]); ]);
E.showMenu(menu); E.showMenu(menu);
}); });