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.
//
#if !os(visionOS)
import UIKit
import Pachyderm
import SwiftUI
@ -221,3 +222,4 @@ private struct SuggestionSourceView: View {
}
}
}
#endif

View File

@ -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