diff options
author | Shav Kinderlehrer <[email protected]> | 2024-02-22 14:13:53 -0500 |
---|---|---|
committer | Shav Kinderlehrer <[email protected]> | 2024-02-22 14:13:53 -0500 |
commit | 33b07566cbc07295131e9fe0e14643fbd9c5d14a (patch) | |
tree | cfdcf1ea68a9965f6301979bb7de5a3d18f29650 /Jel/Views/Item/ItemMediaView.swift | |
parent | 1ce620567c64c92872261317863695c4660acbd0 (diff) | |
download | jel-33b07566cbc07295131e9fe0e14643fbd9c5d14a.tar.gz jel-33b07566cbc07295131e9fe0e14643fbd9c5d14a.zip |
Revamp EpisodeIconView + format item.overview properly
Some metadata sources use '<br>' instead of '\n' for newlines.
This fixes that for the most part.
Diffstat (limited to 'Jel/Views/Item/ItemMediaView.swift')
-rw-r--r-- | Jel/Views/Item/ItemMediaView.swift | 2 |
1 files changed, 1 insertions, 1 deletions
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: "<br>", with: "")) + ExpandableText((item.overviewNL ?? "").replacingOccurrences(of: "<br>", with: "")) .lineLimit(8) } } |