Show support dialog to power users (that use filebot only once but rename many many files)

This commit is contained in:
Reinhard Pointner 2016-08-02 18:12:45 +08:00
parent 426205dbf7
commit 91ec67f77d
1 changed files with 2 additions and 1 deletions

View File

@ -113,9 +113,10 @@ public enum SupportDialog {
public static void maybeShow() {
int renameCount = HistorySpooler.getInstance().getPersistentHistoryTotalSize();
int renameLimit = 1000;
// show donation / review reminders to power users (more than 2000 renames)
if (renameCount >= 2000 && Math.random() >= 0.777) {
if ((renameCount >= renameLimit && Math.random() >= 0.777) || (HistorySpooler.getInstance().getSessionHistory().totalSize() >= renameLimit)) {
if (isAppStore()) {
AppStoreReview.show(renameCount);
} else {