From 3f97647ff52c816012e250f65cbdfe6177ab922c Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Tue, 2 Jan 2024 02:11:19 -0800
Subject: fix(activity): use anilist offset

---
 src/routes/+page.svelte | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'src/routes/+page.svelte')

diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte
index 57914bb1..ec553c66 100644
--- a/src/routes/+page.svelte
+++ b/src/routes/+page.svelte
@@ -32,7 +32,8 @@
 			currentUserIdentity = JSON.parse($userIdentity);
 			currentUserIdentity.name = currentUserIdentity.name;
 			lastActivityWasToday =
-				(await lastActivityDate(currentUserIdentity)).toDateString() >= new Date().toDateString();
+				(await lastActivityDate(currentUserIdentity, data.user)).date.toDateString() >=
+				new Date().toDateString();
 
 			if (!lastActivityWasToday) {
 				if ($settings.displayLimitListHeight) {
-- 
cgit v1.2.3

