Skip to content

Commit

Permalink
Some users might click no accidentally, this will consider no as 'maybe'
Browse files Browse the repository at this point in the history
  • Loading branch information
tomekit committed Apr 22, 2023
1 parent 0c5f425 commit 12ec98a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/src/conditions.dart
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,7 @@ class DoNotOpenAgainCondition extends DebuggableCondition {

@override
bool onEventOccurred(RateMyAppEventType eventType) {
if (eventType == RateMyAppEventType.rateButtonPressed ||
eventType == RateMyAppEventType.noButtonPressed) {
if (eventType == RateMyAppEventType.rateButtonPressed) { // eventType == RateMyAppEventType.noButtonPressed
doNotOpenAgain = true;
return true;
}
Expand Down

0 comments on commit 12ec98a

Please sign in to comment.