We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7122ae9 commit 1be5d19Copy full SHA for 1be5d19
app/src/main/java/com/github/ivanshafran/unit_tests_evolution/ShowRateUsLogic.kt
@@ -13,8 +13,7 @@ class ShowRateUsLogic(
13
}
14
15
fun shouldShowRateUs(): Boolean {
16
- val timeFromLastShown =
17
- time.getCurrentTimeMillis() - rateUsPreferences.getLastShownTimeMillis()
+ val timeFromLastShown = time.getCurrentTimeMillis() - rateUsPreferences.getLastShownTimeMillis()
18
return when {
19
// User doesn't want to see "rate us" again
20
rateUsPreferences.isNeverShownAgainClicked() -> false
0 commit comments