Explorar el Código

Fix wasInThePast

Sebastián Katzer hace 11 años
padre
commit
9e93c40b15
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;
 }
 
 /**