From 31ac15a9b9f33afce0e0fa40b463278916e45562 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Mon, 27 Nov 2023 21:10:20 -0800
Subject: feat(list): furigana

---
 src/lib/List/Anime/CleanAnimeList.svelte | 11 ++---------
 1 file changed, 2 insertions(+), 9 deletions(-)

(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 7ce10d4d..2da182d5 100644
--- a/src/lib/List/Anime/CleanAnimeList.svelte
+++ b/src/lib/List/Anime/CleanAnimeList.svelte
@@ -6,6 +6,7 @@
 	import { airingTime, cleanCache, totalEpisodes, updateMedia } from '$lib/Media/anime';
 	import type { AniListAuthorisation, UserIdentity } from '$lib/AniList/identity';
 	import ListTitle from '../ListTitle.svelte';
+	import MediaTitle from '../MediaTitle.svelte';
 
 	export let media: Media[];
 	export let title: string;
@@ -49,15 +50,7 @@
 						? 'color: lightcoral'
 						: ''}
 				>
-					{#if $settings.displayNativeTitles}
-						<span title={anime.title.english || anime.title.romaji || anime.title.native}>
-							{anime.title.native}
-						</span>
-					{:else}
-						<span title={anime.title.native}>
-							{anime.title.english || anime.title.romaji || anime.title.native}
-						</span>
-					{/if}
+					<MediaTitle media={anime} />
 				</span>
 			</a>
 			{#if $settings.displaySocialButton}
-- 
cgit v1.2.3

