Эх сурвалжийг харах

Fix crash when clicking on notification (WP8.1)

Sebastián Katzer 10 жил өмнө
parent
commit
b5df96eaba

+ 1 - 1
src/windows/LocalNotificationUtil.js

@@ -294,7 +294,7 @@ exports.isToastScheduled = function (toast) {
  */
 exports.isToastTriggered = function (toast) {
     var id = this.getToastId(toast),
-        notification = this.getAll(id)[0];
+        notification = this.getAll([id])[0],
         fireDate = new Date((notification.at) * 1000);
 
     if (this.isRepeating(notification))