Bläddra i källkod

Fix count on Android triggered only n-1 times

Sebastián Katzer 8 år sedan
förälder
incheckning
63aa4c00da
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      src/android/notification/Request.java

+ 1 - 1
src/android/notification/Request.java

@@ -103,7 +103,7 @@ public final class Request {
      * If there's one more trigger date to calculate.
      */
     private boolean hasNext() {
-        return triggerDate != null && getOccurrence() < count;
+        return triggerDate != null && getOccurrence() <= count;
     }
 
     /**