Commit 74c4ff01 by Sebastián Katzer

Improved performance for isPresent for windows

parent 19ea10da
......@@ -283,7 +283,7 @@ exports.core = {
* Local notification ID
*/
isPresent: function (id) {
return this.getAllIds().indexOf(id) > -1;
return !!this.findToastById(id);
},
/**
......
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