Skip to content

Commit

Permalink
Fixed logic error.
Browse files Browse the repository at this point in the history
  • Loading branch information
nicklockwood committed Apr 14, 2014
1 parent bafeb3a commit 2d1d6ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iRate/iRate.m
Expand Up @@ -859,7 +859,7 @@ - (void)applicationLaunched
{
//if was previously installed, but we haven't yet prompted for a rating
//don't reset, but make sure it won't rate for a day at least
self.firstUsed = [[NSDate date] dateByAddingTimeInterval:(self.daysUntilPrompt + 1) * -SECONDS_IN_A_DAY];
self.firstUsed = [[NSDate date] dateByAddingTimeInterval:(self.daysUntilPrompt - 1) * -SECONDS_IN_A_DAY];
}
else
{
Expand Down

0 comments on commit 2d1d6ba

Please sign in to comment.