Przeglądaj źródła

Fix count on Android triggered only n-1 times

Sebastián Katzer 8 lat temu
rodzic
commit
63aa4c00da
1 zmienionych plików z 1 dodań i 1 usunięć
  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;
     }
 
     /**