Updated on 2026-08-14

This commit is contained in:
Tangem 2021-04-05 20:29:19 +03:00
parent 43328b64bd
commit 5de5ca1eb2

View file

@ -122,7 +122,10 @@ class AppRatingLaunchObserver(
if (fundsFoundDate != null) return
fundsFoundDate = Calendar.getInstance()
preferences.edit().putLong(K_FUNDS_FOUND_DATE, fundsFoundDate!!.timeInMillis).apply()
preferences.edit(true) {
putLong(K_FUNDS_FOUND_DATE, fundsFoundDate!!.timeInMillis).apply()
putInt(K_SHOW_RATING_AT_LAUNCH_COUNT, launchCounts + firstShowing)
}
}
fun isReadyToShow(): Boolean {