You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If either usesUntilPrompt or eventsUntilPrompt is zero then both values are effectively ignored. It's reasonable for developers to set one or the other to zero to indicate no interest in value.
Perhaps give eventsUntilPrompt its own else if, in keeping with the rest of shouldPromptForRating?
The text was updated successfully, but these errors were encountered:
Permusoft
changed the title
Logic errors usesUntilPrompt and eventsUntilPrompt?
Logic errors in usesUntilPrompt and eventsUntilPrompt?
Apr 18, 2017
https://github.com/nicklockwood/iRate/blob/master/iRate/iRate.m#L484
If either
usesUntilPrompt
oreventsUntilPrompt
is zero then both values are effectively ignored. It's reasonable for developers to set one or the other to zero to indicate no interest in value.Perhaps give
eventsUntilPrompt
its ownelse if
, in keeping with the rest ofshouldPromptForRating
?The text was updated successfully, but these errors were encountered: