From 33b07566cbc07295131e9fe0e14643fbd9c5d14a Mon Sep 17 00:00:00 2001 From: Shav Kinderlehrer Date: Thu, 22 Feb 2024 14:13:53 -0500 Subject: Revamp EpisodeIconView + format item.overview properly Some metadata sources use '
' instead of '\n' for newlines. This fixes that for the most part. --- Jel/Views/Item/ItemMediaView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Jel/Views/Item/ItemMediaView.swift') diff --git a/Jel/Views/Item/ItemMediaView.swift b/Jel/Views/Item/ItemMediaView.swift index efcfb55..515cf47 100644 --- a/Jel/Views/Item/ItemMediaView.swift +++ b/Jel/Views/Item/ItemMediaView.swift @@ -19,7 +19,7 @@ struct ItemMediaView: View { .font(.headline) .frame(maxWidth: .infinity, alignment: .leading) - ExpandableText((item.overview ?? "").replacingOccurrences(of: "
", with: "")) + ExpandableText((item.overviewNL ?? "").replacingOccurrences(of: "
", with: "")) .lineLimit(8) } } -- cgit v1.2.3