* increase reminder popup chance to 40%

This commit is contained in:
Reinhard Pointner 2015-10-02 10:24:58 +00:00
parent e24c381afe
commit e655817584
1 changed files with 2 additions and 2 deletions

View File

@ -251,8 +251,8 @@ public class Main {
// make sure any long running operations are done now and not later on the shutdownhook thread
HistorySpooler.getInstance().commit();
// show donation / review reminders to power users (more than 2000 renames) but at most 20% of the time as to not overly annoy user that simply don't want to donate
float chance = 0.2f;
// show donation / review reminders to power users (more than 2000 renames)
float chance = 0.4f;
int renameCount = HistorySpooler.getInstance().getPersistentHistoryTotalSize();
if (renameCount > 2000 && Math.random() < chance) {