Added screenshots and correct version number
parent
5fee259dd0
commit
a50f53b15a
|
|
@ -1,10 +1,10 @@
|
||||||
{
|
{
|
||||||
"id": "agenda",
|
"id": "agenda",
|
||||||
"name": "Agenda",
|
"name": "Agenda",
|
||||||
"version": "2.01",
|
"version": "0.01",
|
||||||
"description": "Simple agenda",
|
"description": "Simple agenda",
|
||||||
"icon": "agenda.png",
|
"icon": "agenda.png",
|
||||||
"screenshots": [{"url":"screenshot_agenda.png"}],
|
"screenshots": [{"url":"screenshot_agenda_overview.png"}, {"url":"screenshot_agenda_event1.png"}, {"url":"screenshot_agenda_event2.png"}],
|
||||||
"tags": "agenda",
|
"tags": "agenda",
|
||||||
"supports": ["BANGLEJS","BANGLEJS2"],
|
"supports": ["BANGLEJS","BANGLEJS2"],
|
||||||
"readme": "README.md",
|
"readme": "README.md",
|
||||||
|
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 2.5 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 3.5 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 3.3 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 3.7 KiB |
|
|
@ -92,12 +92,15 @@
|
||||||
},
|
},
|
||||||
//TODO perhaps move those in a library (like messages), used also for viewing events?
|
//TODO perhaps move those in a library (like messages), used also for viewing events?
|
||||||
"calendar" : function() {
|
"calendar" : function() {
|
||||||
var cal = require("Storage").readJSON("android.calendar.json",true)||[];
|
var cal = require("Storage").readJSON("android.calendar.json",true);
|
||||||
|
if (!cal || !Array.isArray(cal)) cal = [];
|
||||||
cal.push(event);
|
cal.push(event);
|
||||||
require("Storage").writeJSON("android.calendar.json", cal);
|
require("Storage").writeJSON("android.calendar.json", cal);
|
||||||
},
|
},
|
||||||
"calendar-" : function() {
|
"calendar-" : function() {
|
||||||
var cal = require("Storage").readJSON("android.calendar.json",true)||return;
|
var cal = require("Storage").readJSON("android.calendar.json",true);
|
||||||
|
//if any of those happen we are out of sync!
|
||||||
|
if (!cal || !Array.isArray(cal)) return;
|
||||||
cal = cal.filter(e=>e.id!=event.id);
|
cal = cal.filter(e=>e.id!=event.id);
|
||||||
require("Storage").writeJSON("android.calendar.json", cal);
|
require("Storage").writeJSON("android.calendar.json", cal);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
"id": "android",
|
"id": "android",
|
||||||
"name": "Android Integration",
|
"name": "Android Integration",
|
||||||
"shortName": "Android",
|
"shortName": "Android",
|
||||||
"version": "0.10",
|
"version": "0.11",
|
||||||
"description": "Display notifications/music/etc sent from the Gadgetbridge app on Android. This replaces the old 'Gadgetbridge' Bangle.js widget.",
|
"description": "Display notifications/music/etc sent from the Gadgetbridge app on Android. This replaces the old 'Gadgetbridge' Bangle.js widget.",
|
||||||
"icon": "app.png",
|
"icon": "app.png",
|
||||||
"tags": "tool,system,messages,notifications,gadgetbridge",
|
"tags": "tool,system,messages,notifications,gadgetbridge",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue