Updated on 2026-08-14

This commit is contained in:
Tangem 2023-09-27 18:06:27 +03:00
parent 1d151c11a1
commit bc3534c277
5 changed files with 20 additions and 6 deletions

View file

@ -67,8 +67,9 @@ internal class DefaultAppRatingRepository(
if (!isInteracting) {
val diff = Calendar.getInstance().timeInMillis - fundsFoundDate
val diffInDays = diff / DAY_IN_MILLIS
val isFundsFound = fundsFoundDate != FUNDS_FOUND_DATE_UNDEFINED
appLaunchCount >= ratingShowingCount && diffInDays >= FIRST_SHOWING_COUNT
appLaunchCount >= ratingShowingCount && diffInDays >= FIRST_SHOWING_COUNT && isFundsFound
} else {
appLaunchCount >= ratingShowingCount
}