Skip to content

Commit

Permalink
are the kit checks necessary w coregraphics imported?
Browse files Browse the repository at this point in the history
  • Loading branch information
NicoHinderling committed Nov 21, 2024
1 parent ed53c59 commit dea9bb3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/SnapshotPreviewsCore/View+Snapshot.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
// Created by Noah Martin on 12/22/22.
//

#if canImport(UIKit) || canImport(AppKit)
import CoreGraphics

public enum RenderingError: Error {
case failedRendering(CGSize)
case maxSize(CGSize)
case expandingViewTimeout(CGSize)
}
#endif

#if canImport(UIKit) && !os(visionOS) && !os(watchOS) && !os(tvOS)
import Foundation
Expand Down

0 comments on commit dea9bb3

Please sign in to comment.