1
0
Fork 0
master
Salim Blume 2022-03-05 12:35:39 -06:00
parent 4810eefe08
commit 2bd1da264f
1 changed files with 3 additions and 1 deletions

View File

@ -101,10 +101,12 @@ layout.render();
function configureNotification(stat) {
stat.on('notify', (e)=>{
settings.notify[e.id].notifications.reduce(function (promise, buzzPattern) {
console.log(buzzPattern);
return promise.then(function () {
return Bangle.buzz(buzzPattern[0], buzzPattern[1]);
});
}, Promise.resolve());
}, Promise.resolve())
.then(console.log);
});
}