1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-12-23 08:18:52 -05:00

* set popup chance to 777

This commit is contained in:
Reinhard Pointner 2015-10-12 19:30:13 +00:00
parent b657599a6c
commit b1ea079330

View File

@ -257,10 +257,9 @@ public class Main {
HistorySpooler.getInstance().commit();
// 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) {
if (renameCount > 2000 && Math.random() <= 0.777) {
if (isAppStore()) {
showAppStoreReviewReminder();
} else {