Bladeren bron

Fix wasInThePast

Sebastián Katzer 11 jaren geleden
bovenliggende
commit
9e93c40b15
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  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;
 }
 
 /**