Skip to content

Commit

Permalink
Do not rate too often
Browse files Browse the repository at this point in the history
  • Loading branch information
premnirmal committed Oct 27, 2022
1 parent 4d5a44f commit 8d0eb1e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ class AppPreferences @Inject constructor(
.apply()
}

fun shouldPromptRate(): Boolean = Random.nextBoolean()
fun shouldPromptRate(): Boolean = Random.nextInt() % 5 == 0

fun backOffAttemptCount(): Int = sharedPreferences.getInt(BACKOFF_ATTEMPTS, 1)

Expand Down
4 changes: 2 additions & 2 deletions app/version.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# this file is purely for f-droid because it cannot infer the version name/code from the git tag
versionName=3.9.815
versionCode=300900815
versionName=3.9.816
versionCode=300900816

0 comments on commit 8d0eb1e

Please sign in to comment.