Make widget play well with other Gadgetbridge widgets/apps

pull/315/head
Gordon Williams 2020-04-16 10:31:59 +01:00
parent c9a3a0bce0
commit a4ec9965ba
3 changed files with 4 additions and 1 deletions

View File

@ -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",

View File

@ -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

View File

@ -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