Commit 74c4ff01 authored by Sebastián Katzer's avatar Sebastián Katzer
Browse files

Improved performance for isPresent for windows

parent 19ea10da
Loading
Loading
Loading
Loading
+1 −1
Changes for src/windows/LocalNotificationCore.js: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -283,7 +283,7 @@ exports.core = {
     *      Local notification ID
     */
    isPresent: function (id) {
        return this.getAllIds().indexOf(id) > -1;
        return !!this.findToastById(id);
    },

    /**