فهرست منبع

Fix wasInThePast

Sebastián Katzer 11 سال پیش
والد
کامیت
9e93c40b15
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/ios/UILocalNotification+APPLocalNotification.m

+ 1 - 1
src/ios/UILocalNotification+APPLocalNotification.m

@@ -143,7 +143,7 @@ static char optionsKey;
  */
 - (BOOL) wasInThePast
 {
-    return [self timeIntervalSinceFireDate] < 0;
+    return [self timeIntervalSinceFireDate] > 0;
 }
 
 /**