diff --git a/apps.json b/apps.json index e6fb7aaac..447d45154 100644 --- a/apps.json +++ b/apps.json @@ -93,7 +93,7 @@ { "id": "gbridge", "name": "Gadgetbridge", "icon": "app.png", - "version":"0.09", + "version":"0.10", "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 53f8a1b4c..f23a4eb6d 100644 --- a/apps/gbridge/ChangeLog +++ b/apps/gbridge/ChangeLog @@ -8,3 +8,4 @@ 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 +0.10: Make widget play well with other Gadgetbridge widgets/apps diff --git a/apps/gbridge/widget.js b/apps/gbridge/widget.js index 03c622443..a87b9d1ec 100644 --- a/apps/gbridge/widget.js +++ b/apps/gbridge/widget.js @@ -145,6 +145,7 @@ } } + var _GB = global.GB; global.GB = (event) => { switch (event.t) { case "notify": @@ -160,6 +161,7 @@ handleCallEvent(event); break; } + if(_GB)setTimeout(_GB,0,event); }; // Touch control