mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-24 08:48:51 -05:00
* set popup chance to 777
This commit is contained in:
parent
b657599a6c
commit
b1ea079330
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user