diff --git a/Tusker/Screens/Explore/TrendingLinkCardView.swift b/Tusker/Screens/Explore/TrendingLinkCardView.swift index 424256b2d..4ffeabd5d 100644 --- a/Tusker/Screens/Explore/TrendingLinkCardView.swift +++ b/Tusker/Screens/Explore/TrendingLinkCardView.swift @@ -15,15 +15,11 @@ struct TrendingLinkCardView: View { let card: Card private var imageURL: URL? { - if let image = card.image { - URL(image) - } else { - nil - } + card.image } private var descriptionText: String { - var converter = TextConverter(configuration: .init(insertNewlines: false)) + let converter = TextConverter(configuration: .init(insertNewlines: false)) return converter.convert(html: card.description) }