Skip to content

Commit

Permalink
Merge pull request #49 from JuyeonYu/master
Browse files Browse the repository at this point in the history
fix typo / adding point value in increment significan use action
  • Loading branch information
takecian authored Jul 4, 2024
2 parents 45f83b3 + 2a8f13a commit dc48622
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ SwiftRater.daysBeforeReminding = 7
SwiftRater.appLaunched()
```

If you wanted to show the rquest after a user performs 10 significant actions before 5 days or 5 uses have passed:
If you wanted to show the request after a user performs 10 significant actions before 5 days or 5 uses have passed:

```
SwiftRater.conditionsMetMode = .any
Expand Down
4 changes: 2 additions & 2 deletions SwiftRater/UsageDataManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,8 @@ class UsageDataManager {
usesCount = usesCount + 1
}

func incrementSignificantUseCount() {
significantEventCount = significantEventCount + 1
func incrementSignificantUseCount(point: Int = 1) {
significantEventCount = significantEventCount + point
}

func saveReminderRequestDate() {
Expand Down

0 comments on commit dc48622

Please sign in to comment.