From 1bf8ac0ed76dd9c59f2c1954817c61c986af64e0 Mon Sep 17 00:00:00 2001 From: Gordon Williams Date: Thu, 5 Mar 2020 08:27:49 +0000 Subject: [PATCH] minor tweaks after merge --- apps.json | 8 ++++---- apps/widid/widget.js | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/apps.json b/apps.json index c76106909..e4b92eb14 100644 --- a/apps.json +++ b/apps.json @@ -800,12 +800,12 @@ {"name":"torch.wid.js","url":"widget.js"}, {"name":"torch.img","url":"app-icon.js","evaluate":true} ] - }, + }, { "id": "widid", - "name": "My NRF ID Widget", - "icon": "widid.png", + "name": "Bluetooth ID Widget", + "icon": "widget.png", "version":"0.01", - "description": "Display the last two tuple of your Bangle.js address in the widget section.", + "description": "Display the last two tuple of your Bangle.js address in the widget section. This is useful for figuring out which Bangle.js to connect to if you have more than one Bangle.js!", "tags": "widget", "type":"widget", "storage": [ diff --git a/apps/widid/widget.js b/apps/widid/widget.js index 7c500baf2..84f5fe5f0 100644 --- a/apps/widid/widget.js +++ b/apps/widid/widget.js @@ -8,7 +8,7 @@ function draw() { var x = xpos, y = 0; - g.setColor(0, 0.5, 1).setFont("6x8", 1); + g.reset().setColor(0, 0.5, 1).setFont("6x8", 1); g.drawString(id[4], x, 0, true); g.drawString(id[5], x, 10, true); }