mirror of https://github.com/espruino/BangleApps
Make widget play well with other Gadgetbridge widgets/apps
parent
c9a3a0bce0
commit
a4ec9965ba
|
@ -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",
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue