Updated on 2026-08-14

This commit is contained in:
Tangem 2023-04-07 20:39:24 +08:00
parent 069605e151
commit 36516c900f
234 changed files with 902 additions and 1618 deletions

View file

@ -158,11 +158,9 @@ class AppRatingLaunchObserver(
editor.apply()
}
private fun userWasInteractWithRating(): Boolean =
preferences.getBoolean(K_USER_WAS_INTERACT_WITH_RATING, false)
private fun userWasInteractWithRating(): Boolean = preferences.getBoolean(K_USER_WAS_INTERACT_WITH_RATING, false)
private fun getCounterOfNextShowing(): Int =
preferences.getInt(K_SHOW_RATING_AT_LAUNCH_COUNT, firstShowing)
private fun getCounterOfNextShowing(): Int = preferences.getInt(K_SHOW_RATING_AT_LAUNCH_COUNT, firstShowing)
companion object {
private const val K_SHOW_RATING_AT_LAUNCH_COUNT = "showRatingDialogAtLaunchCount"