Ensure Agenda supplies an image for clkinfo items (fix #2397)

pull/2401/head
Gordon Williams 2022-12-14 14:52:04 +00:00
parent 69660b69aa
commit 99065debc7
3 changed files with 3 additions and 2 deletions

View File

@ -7,3 +7,4 @@
0.07: Clkinfo improvements.
0.08: Fix error in clkinfo (didn't require Storage & locale)
Fix clkinfo icon
0.09: Ensure Agenda supplies an image for clkinfo items

View File

@ -19,7 +19,7 @@
agendaItems.items.push({
name: "Agenda "+i,
get: () => ({ text: title + "\n" + dateStr, img: null}),
get: () => ({ text: title + "\n" + dateStr, img: agendaItems.img }),
show: function() { agendaItems.items[i].emit("redraw"); },
hide: function () {}
});

View File

@ -1,7 +1,7 @@
{
"id": "agenda",
"name": "Agenda",
"version": "0.08",
"version": "0.09",
"description": "Simple agenda",
"icon": "agenda.png",
"screenshots": [{"url":"screenshot_agenda_overview.png"}, {"url":"screenshot_agenda_event1.png"}, {"url":"screenshot_agenda_event2.png"}],