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

Repeating notifications are always scheduled and not triggered

parent 21d27bc1
Loading
Loading
Loading
Loading
+3 −0
Changes for src/windows/LocalNotificationUtil.js: 3 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -255,6 +255,9 @@ exports.isToastTriggered = function (toast) {
        notification = this.getAll(id)[0];
        fireDate = new Date((notification.at) * 1000);

    if (this.isRepeating(notification))
        return false;

    return fireDate <= new Date();
};