From effe9f3133313ab033f2f12afece6eaedc01cb5f Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.net>
Date: Fri, 17 Apr 2026 15:05:47 +0000
Subject: fix(ui): hide list count badge when no media is displayed

Showing "0" in the list title next to a "No anime/manga to display"
empty-state message duplicates information. Treat an empty media list
the same as dummy mode and suppress the count.
---
 src/lib/List/Anime/CleanAnimeList.svelte | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/lib/List/Anime/CleanAnimeList.svelte')

diff --git a/src/lib/List/Anime/CleanAnimeList.svelte b/src/lib/List/Anime/CleanAnimeList.svelte
index 064b0fc5..76701a93 100644
--- a/src/lib/List/Anime/CleanAnimeList.svelte
+++ b/src/lib/List/Anime/CleanAnimeList.svelte
@@ -238,7 +238,7 @@ const increment = (anime: Media, progress: number) => {
     : filteredMedia.length}
   {title}
   hideTime={dummy}
-  hideCount={dummy}
+  hideCount={dummy || media.length === 0}
 >
   {#if $settings.displayMediaRoulette && !upcoming && !notYetReleased && filteredMedia.length > 1}
     <button
-- 
cgit v1.2.3

