diff --git a/Tusker/Screens/Explore/SuggestedProfileCardCollectionViewCell.swift b/Tusker/Screens/Explore/SuggestedProfileCardCollectionViewCell.swift index 7d2477d7b2..62879b03a0 100644 --- a/Tusker/Screens/Explore/SuggestedProfileCardCollectionViewCell.swift +++ b/Tusker/Screens/Explore/SuggestedProfileCardCollectionViewCell.swift @@ -6,6 +6,7 @@ // Copyright © 2023 Shadowfacts. All rights reserved. // +#if !os(visionOS) import UIKit import Pachyderm import SwiftUI @@ -221,3 +222,4 @@ private struct SuggestionSourceView: View { } } } +#endif diff --git a/Tusker/Screens/Explore/TrendingLinkCardCollectionViewCell.swift b/Tusker/Screens/Explore/TrendingLinkCardCollectionViewCell.swift index 0604595d55..d8ab71fc05 100644 --- a/Tusker/Screens/Explore/TrendingLinkCardCollectionViewCell.swift +++ b/Tusker/Screens/Explore/TrendingLinkCardCollectionViewCell.swift @@ -6,6 +6,7 @@ // Copyright © 2022 Shadowfacts. All rights reserved. // +#if !os(visionOS) import UIKit import Pachyderm import WebURLFoundationExtras @@ -172,3 +173,4 @@ extension TrendingLinkCardCollectionViewCell { case regular, compact } } +#endif