Kaynağa Gözat

Fix wasInThePast

Sebastián Katzer 11 yıl önce
ebeveyn
işleme
9e93c40b15

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

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