Commit 44e97687 by Sebastián Katzer

Improved performance for isScheduled for windows

parent 74c4ff01
......@@ -293,7 +293,9 @@ exports.core = {
* Local notification ID
*/
isScheduled: function (id) {
return this.getScheduledIds().indexOf(id) > -1;
var toast = this.findToastById(id);
return toast && this.isToastScheduled(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