From ed53c5947e54aa0f15dcbbdd518ab2e3e190e826 Mon Sep 17 00:00:00 2001 From: Nico Hinderling Date: Thu, 21 Nov 2024 12:45:31 -0800 Subject: [PATCH] how about now --- Sources/SnapshotPreviewsCore/View+Snapshot.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/SnapshotPreviewsCore/View+Snapshot.swift b/Sources/SnapshotPreviewsCore/View+Snapshot.swift index 4dbcff3..2c25b30 100644 --- a/Sources/SnapshotPreviewsCore/View+Snapshot.swift +++ b/Sources/SnapshotPreviewsCore/View+Snapshot.swift @@ -5,7 +5,7 @@ // Created by Noah Martin on 12/22/22. // -#if canImport(UIKit) +#if canImport(UIKit) || canImport(AppKit) public enum RenderingError: Error { case failedRendering(CGSize) case maxSize(CGSize)