From 80e82cb4bfd4b65c973f18add4bf88ce0fcaf4ed Mon Sep 17 00:00:00 2001 From: Uwe Trottmann Date: Thu, 7 Mar 2024 12:34:21 +0100 Subject: [PATCH] Local history: remove oldest only after 90 days (was 30) --- .../battlelancer/seriesguide/shows/history/SgActivityHelper.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/battlelancer/seriesguide/shows/history/SgActivityHelper.kt b/app/src/main/java/com/battlelancer/seriesguide/shows/history/SgActivityHelper.kt index ede82d20d6..4dac74d698 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/shows/history/SgActivityHelper.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/shows/history/SgActivityHelper.kt @@ -41,7 +41,7 @@ interface SgActivityHelper { fun getActivityByLatest(): List companion object { - private const val HISTORY_THRESHOLD = 30 * DateUtils.DAY_IN_MILLIS + private const val HISTORY_THRESHOLD = 90 * DateUtils.DAY_IN_MILLIS /** * Adds activity entries for the given episode TMDB IDs with the current time as timestamp.