From 59a44eddfebe99b05356859df481e07bbdc30615 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Sat, 14 Jun 2025 01:50:40 -0700
Subject: fix(Home): Guard LastActivity component visibility

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

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

diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte
index 8e6a5d52..c745317b 100644
--- a/src/routes/+page.svelte
+++ b/src/routes/+page.svelte
@@ -29,7 +29,9 @@
 
 <HeadTitle />
 
-<LastActivity user={data.user} />
+{#if !$settings.displayDisableLastActivityWarning}
+  <LastActivity user={data.user} />
+{/if}
 
 {#if data.user === undefined}
   <div class="card">Please log in to view due media.</div>
-- 
cgit v1.2.3

