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 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 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); setTimeout(askReview, reviewDelay);
} }
}; };
@ -90,9 +90,11 @@ class ReviewApp {
} }
this.positiveEventCount += 1; this.positiveEventCount += 1;
if (this.positiveEventCount === numberOfPositiveEvent) { if (this.positiveEventCount === numberOfPositiveEvent) {
if (!isFDroidBuild) {
tryReview(); tryReview();
} }
} }
} }
}
export const Review = new ReviewApp(); export const Review = new ReviewApp();