From 20e7d9ed10b4d2d762afe982466ba5d7e7d14e63 Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Thu, 26 Dec 2024 17:44:41 -0500 Subject: [PATCH] Fix compiling on visionOS --- Tusker/Screens/Explore/TrendingLinkCardView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tusker/Screens/Explore/TrendingLinkCardView.swift b/Tusker/Screens/Explore/TrendingLinkCardView.swift index 906f21b1..33150227 100644 --- a/Tusker/Screens/Explore/TrendingLinkCardView.swift +++ b/Tusker/Screens/Explore/TrendingLinkCardView.swift @@ -16,7 +16,7 @@ struct TrendingLinkCardView: View { let card: Card private var imageURL: URL? { - card.image + card.image.flatMap { URL($0) } } private var descriptionText: String {