From cad8184e0328149ba0ef5dd3d2fa05a8eaab930c Mon Sep 17 00:00:00 2001 From: GOVINDDIXIT Date: Mon, 27 Jul 2020 22:54:10 +0530 Subject: [PATCH] requested change --- app/utils/review.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/utils/review.js b/app/utils/review.js index 6eb258115..76040c3e8 100644 --- a/app/utils/review.js +++ b/app/utils/review.js @@ -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(); + } } } }