Workaround call notifications with gadgetbridge

I have missed a few calls as my watch didn't inform me about them. Using
gbdebug it turns out the cmd left empty.
pull/1058/head
Adam Schmalhofer 2021-12-08 20:38:15 +01:00
parent b10de5aa7b
commit bf9f0e4db7
1 changed files with 1 additions and 1 deletions

View File

@ -184,7 +184,7 @@
case "call":
var note = { size: 55, title: event.name, id: "call",
body: event.number, icon:require("heatshrink").decompress(atob("jEYwIMJj4CCwACJh4CCCIMOAQMGAQMHAQMDAQMBCIMB4PwgHz/EAn4CBj4CBg4CBgACCAAw="))}
if (event.cmd === "incoming") {
if (event.cmd === "incoming" || event.cmd === "") {
require("notify").show(note);
if (!(require('Storage').readJSON('setting.json',1)||{}).quiet) {
Bangle.buzz();