From b1ea0793304fdbef3e24a24fdc9981f1d150ba0d Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Mon, 12 Oct 2015 19:30:13 +0000 Subject: [PATCH] * set popup chance to 777 --- source/net/filebot/Main.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source/net/filebot/Main.java b/source/net/filebot/Main.java index 35c0eca1..63260937 100644 --- a/source/net/filebot/Main.java +++ b/source/net/filebot/Main.java @@ -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 {