From f890227b619c433047fc8784328002cc6f7da4de Mon Sep 17 00:00:00 2001 From: Gordon Williams Date: Wed, 15 Apr 2020 10:53:03 +0100 Subject: [PATCH] gbridge: 0.09: Update Bluetooth connection state automatically --- apps.json | 2 +- apps/gbridge/ChangeLog | 1 + apps/gbridge/widget.js | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/apps.json b/apps.json index 69a41c52f..0643ad6de 100644 --- a/apps.json +++ b/apps.json @@ -93,7 +93,7 @@ { "id": "gbridge", "name": "Gadgetbridge", "icon": "app.png", - "version":"0.08", + "version":"0.09", "description": "The default notification handler for Gadgetbridge notifications from Android", "tags": "tool,system,android,widget", "type":"widget", diff --git a/apps/gbridge/ChangeLog b/apps/gbridge/ChangeLog index d1f9c6a62..53f8a1b4c 100644 --- a/apps/gbridge/ChangeLog +++ b/apps/gbridge/ChangeLog @@ -7,3 +7,4 @@ 0.06: Gadgetbridge App 'Connected' state is no longer toggleable 0.07: Move configuration to settings menu 0.08: Don't turn on LCD at start of every song +0.09: Update Bluetooth connection state automatically diff --git a/apps/gbridge/widget.js b/apps/gbridge/widget.js index fa44757fc..03c622443 100644 --- a/apps/gbridge/widget.js +++ b/apps/gbridge/widget.js @@ -189,8 +189,8 @@ g.flip(); // turns screen on } - NRF.on("connected", changedConnectionState); - NRF.on("disconnected", changedConnectionState); + NRF.on("connect", changedConnectionState); + NRF.on("disconnect", changedConnectionState); WIDGETS["gbridgew"] = { area: "tl", width: 24, draw: draw };