diff --git a/Demo/Pulse.xcodeproj/xcshareddata/xcschemes/Pulse Demo macOS.xcscheme b/Demo/Pulse.xcodeproj/xcshareddata/xcschemes/Pulse Demo macOS.xcscheme deleted file mode 100644 index 838c46ae1..000000000 --- a/Demo/Pulse.xcodeproj/xcshareddata/xcschemes/Pulse Demo macOS.xcscheme +++ /dev/null @@ -1,84 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Package.swift b/Package.swift index 2154c7911..f53b9571c 100644 --- a/Package.swift +++ b/Package.swift @@ -7,7 +7,8 @@ let package = Package( .iOS(.v15), .tvOS(.v15), .macOS(.v12), - .watchOS(.v8) + .watchOS(.v8), + .visionOS(.v1) ], products: [ .library(name: "Pulse", targets: ["Pulse"]), diff --git a/Sources/PulseUI/Features/FileViewer/RichTextView/RichTextViewModel.swift b/Sources/PulseUI/Features/FileViewer/RichTextView/RichTextViewModel.swift index 8adcfa476..02a2d8248 100644 --- a/Sources/PulseUI/Features/FileViewer/RichTextView/RichTextViewModel.swift +++ b/Sources/PulseUI/Features/FileViewer/RichTextView/RichTextViewModel.swift @@ -57,7 +57,7 @@ final class RichTextViewModel: ObservableObject { }.store(in: &cancellables) } - func prepare(_ context: SearchContext?) { + func prepare(_ context: TextViewSearchContext?) { guard let context = context else { return } // Not updated self.searchTerm because searchable doesn't like that