requested change

This commit is contained in:
GOVINDDIXIT 2020-07-27 22:54:10 +05:30
parent 4660822311
commit cad8184e03
1 changed files with 4 additions and 2 deletions

View File

@ -76,7 +76,7 @@ const tryReview = async() => {
// if ask me later was pressed earlier, we can ask for review only after {{numberOfDays}} days
// if there's no review and it wasn't dismissed by the user
if (daysBetween(lastReviewDate, new Date()) >= numberOfDays && !doneReview && !isFDroidBuild) {
if (daysBetween(lastReviewDate, new Date()) >= numberOfDays && !doneReview) {
setTimeout(askReview, reviewDelay);
}
};
@ -90,7 +90,9 @@ class ReviewApp {
}
this.positiveEventCount += 1;
if (this.positiveEventCount === numberOfPositiveEvent) {
tryReview();
if (!isFDroidBuild) {
tryReview();
}
}
}
}