From c9dc45143034da3c89f9787ee8c8749579219384 Mon Sep 17 00:00:00 2001 From: tikhonp Date: Wed, 12 Jul 2023 10:26:44 +0300 Subject: [PATCH] Add missing `@available` annotation for macOS in WaveformLiveCanvas view --- Sources/DSWaveformImageViews/SwiftUI/WaveformLiveCanvas.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/DSWaveformImageViews/SwiftUI/WaveformLiveCanvas.swift b/Sources/DSWaveformImageViews/SwiftUI/WaveformLiveCanvas.swift index 82fa26a..d712934 100644 --- a/Sources/DSWaveformImageViews/SwiftUI/WaveformLiveCanvas.swift +++ b/Sources/DSWaveformImageViews/SwiftUI/WaveformLiveCanvas.swift @@ -44,7 +44,7 @@ public struct WaveformLiveCanvas: View { } #if DEBUG -@available(iOS 15.0, *) +@available(iOS 15.0, macOS 12.0, *) struct WaveformLiveCanvas_Previews: PreviewProvider { struct TestView: View { @State var show: Bool = false