* set popup chance to 777

This commit is contained in:
Reinhard Pointner 2015-10-12 19:30:13 +00:00
parent b657599a6c
commit b1ea079330
1 changed files with 1 additions and 2 deletions

View File

@ -257,10 +257,9 @@ public class Main {
HistorySpooler.getInstance().commit(); HistorySpooler.getInstance().commit();
// show donation / review reminders to power users (more than 2000 renames) // show donation / review reminders to power users (more than 2000 renames)
float chance = 0.4f;
int renameCount = HistorySpooler.getInstance().getPersistentHistoryTotalSize(); int renameCount = HistorySpooler.getInstance().getPersistentHistoryTotalSize();
if (renameCount > 2000 && Math.random() < chance) { if (renameCount > 2000 && Math.random() <= 0.777) {
if (isAppStore()) { if (isAppStore()) {
showAppStoreReviewReminder(); showAppStoreReviewReminder();
} else { } else {