Browse Source

Improved performance for isPresent for windows

Sebastián Katzer 10 years ago
parent
commit
74c4ff019a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/windows/LocalNotificationCore.js

+ 1 - 1
src/windows/LocalNotificationCore.js

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