Skip to content

Commit

Permalink
fixing not prompting when threshold �is hit
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon Kean committed Nov 29, 2012
1 parent f8b189c commit e51d950
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Appirater.m
Original file line number Diff line number Diff line change
Expand Up @@ -248,12 +248,12 @@ - (BOOL)ratingConditionsHaveBeenMet {

// check if the app has been used enough
int useCount = [userDefaults integerForKey:kAppiraterUseCount];
if (useCount <= _usesUntilPrompt)
if (useCount < _usesUntilPrompt)
return NO;

// check if the user has done enough significant events
int sigEventCount = [userDefaults integerForKey:kAppiraterSignificantEventCount];
if (sigEventCount <= _significantEventsUntilPrompt)
if (sigEventCount < _significantEventsUntilPrompt)
return NO;

// has the user previously declined to rate this version of the app?
Expand Down

0 comments on commit e51d950

Please sign in to comment.