From 0f2168dbcc3d048ff790dc296a9aea4328815057 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Thu, 28 Dec 2023 19:38:54 -0800
Subject: feat(media): all title formats

---
 src/lib/List/MediaTitleDisplay.svelte | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

(limited to 'src/lib/List/MediaTitleDisplay.svelte')

diff --git a/src/lib/List/MediaTitleDisplay.svelte b/src/lib/List/MediaTitleDisplay.svelte
index c419da14..a3186e47 100644
--- a/src/lib/List/MediaTitleDisplay.svelte
+++ b/src/lib/List/MediaTitleDisplay.svelte
@@ -6,7 +6,7 @@
 	export let title: MediaTitle;
 </script>
 
-{#if $settings.displayNativeTitles}
+{#if $settings.displayTitleFormat === 'native'}
 	{#if $settings.displayFurigana}
 		<span title={title.english || title.romaji || title.native}>
 			<ruby>
@@ -21,8 +21,12 @@
 			{title.native}
 		</span>
 	{/if}
+{:else if $settings.displayTitleFormat === 'romaji'}
+	<span title={title.english || title.romaji || title.native}>
+		{title.romaji}
+	</span>
 {:else}
-	<span title={title.native}>
+	<span title={title.romaji || title.native}>
 		{title.english || title.romaji || title.native}
 	</span>
 {/if}
-- 
cgit v1.2.3

