Skip to content

Commit 5e21c45

Browse files
committed
Fix missed delay on update check
1 parent ad841f2 commit 5e21c45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/tech/httptoolkit/android/HttpToolkitApplication.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ class HttpToolkitApplication : Application() {
256256
// We avoid immediately prompting for updates because a) there's a review delay
257257
// before new updates go live, and b) it's annoying otherwise, if there's a rapid
258258
// series of releases. Better to start chasing users only after a week stable.
259-
val updateNotTooRecent = releaseDate.before(daysAgo(0))
259+
val updateNotTooRecent = releaseDate.before(daysAgo(7))
260260

261261
Log.i(TAG,
262262
if (updateAvailable && updateNotTooRecent)

0 commit comments

Comments
 (0)