forked from shadowfacts/Tusker
visionOS: Exclude unused code
This commit is contained in:
parent
dc654812b1
commit
a2cc3a0436
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue