Fix compiling on visionOS
This commit is contained in:
parent
7c43261f9c
commit
20e7d9ed10
|
@ -16,7 +16,7 @@ struct TrendingLinkCardView: View {
|
||||||
let card: Card
|
let card: Card
|
||||||
|
|
||||||
private var imageURL: URL? {
|
private var imageURL: URL? {
|
||||||
card.image
|
card.image.flatMap { URL($0) }
|
||||||
}
|
}
|
||||||
|
|
||||||
private var descriptionText: String {
|
private var descriptionText: String {
|
||||||
|
|
Loading…
Reference in New Issue