Procházet zdrojové kódy

Fix count on Android triggered only n-1 times

Sebastián Katzer před 8 roky
rodič
revize
63aa4c00da
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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;
     }
 
     /**