requested change
This commit is contained in:
parent
4660822311
commit
cad8184e03
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue