mirror of
https://github.com/mitb-archive/filebot
synced 2024-11-15 22:05:00 -05:00
* increase reminder popup chance to 40%
This commit is contained in:
parent
e24c381afe
commit
e655817584
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user