visionOS: Exclude unused code

This commit is contained in:
Shadowfacts 2024-02-03 12:29:06 -05:00
parent dc654812b1
commit a2cc3a0436
2 changed files with 4 additions and 0 deletions

View File

@ -6,6 +6,7 @@
// Copyright © 2023 Shadowfacts. All rights reserved. // Copyright © 2023 Shadowfacts. All rights reserved.
// //
#if !os(visionOS)
import UIKit import UIKit
import Pachyderm import Pachyderm
import SwiftUI import SwiftUI
@ -221,3 +222,4 @@ private struct SuggestionSourceView: View {
} }
} }
} }
#endif

View File

@ -6,6 +6,7 @@
// Copyright © 2022 Shadowfacts. All rights reserved. // Copyright © 2022 Shadowfacts. All rights reserved.
// //
#if !os(visionOS)
import UIKit import UIKit
import Pachyderm import Pachyderm
import WebURLFoundationExtras import WebURLFoundationExtras
@ -172,3 +173,4 @@ extension TrendingLinkCardCollectionViewCell {
case regular, compact case regular, compact
} }
} }
#endif