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

Improved performance for isTriggered for windows

parent 44e97687
Loading
Loading
Loading
Loading
+3 −1
Changes for src/windows/LocalNotificationCore.js: 3 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -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);
    },

    /**