Commit f1f2217e by Sebastián Katzer

Improved performance for isTriggered for windows

parent 44e97687
......@@ -305,7 +305,9 @@ exports.core = {
* Local notification ID
*/
isTriggered: function (id) {
return this.getTriggeredIds().indexOf(id) > -1;
var toast = this.findToastById(id);
return toast && this.isToastTriggered(toast);
},
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment