Commit 63aa4c00 by Sebastián Katzer

Fix count on Android triggered only n-1 times

parent aa4e07b0
......@@ -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;
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment