From 65634ecccb41cc82a4e8bd915a4178d37d95db8e Mon Sep 17 00:00:00 2001 From: ra100 Date: Mon, 10 Feb 2020 12:44:08 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20gbridge:=20increase=20contrast?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps.json | 2 +- apps/gbridge/Changelog | 2 ++ apps/gbridge/widget.js | 6 +++--- 3 files changed, 6 insertions(+), 4 deletions(-) create mode 100644 apps/gbridge/Changelog diff --git a/apps.json b/apps.json index dedbb22a1..20ee7f1c1 100644 --- a/apps.json +++ b/apps.json @@ -27,7 +27,7 @@ { "id": "gbridge", "name": "Gadgetbridge", "icon": "app.png", - "version":"0.01", + "version":"0.02", "description": "The default notification handler for Gadgetbridge notifications from Android", "tags": "tool,system,android", "storage": [ diff --git a/apps/gbridge/Changelog b/apps/gbridge/Changelog new file mode 100644 index 000000000..3d2b7917d --- /dev/null +++ b/apps/gbridge/Changelog @@ -0,0 +1,2 @@ +0.01: Initial version +0.02: Increase contrast (darker notification background, white text) diff --git a/apps/gbridge/widget.js b/apps/gbridge/widget.js index 21545c5f0..0ef48ee0f 100644 --- a/apps/gbridge/widget.js +++ b/apps/gbridge/widget.js @@ -9,7 +9,7 @@ var oldMode = Bangle.getLCDMode(); Bangle.setLCDMode("direct"); g.setClipRect(0,240,239,319); - g.setColor("#404040"); + g.setColor("#222222"); g.fillRect(1,241,238,318); render(320-size); g.setColor("#ffffff"); @@ -60,7 +60,7 @@ g.setFont("6x8",2); g.drawString(j.title,x,y+25); g.setFont("6x8",1); - g.setColor("#b0b0b0"); + g.setColor("#ffffff"); // split text up a word boundaries var txt = j.body.split("\n"); var MAXCHARS = 38; @@ -97,7 +97,7 @@ g.setColor("#ffffff"); g.drawString(musicInfo.artist,x,y+8); g.setFont("6x8",1); - g.setColor("#c0c0c0"); + g.setColor("#ffffff"); g.drawString(musicInfo.track,x,y+22); }); if (musicState=="pause")