From 9a615b139b9b0a7286c10dac419b4afdb61c1423 Mon Sep 17 00:00:00 2001 From: Terry Yiu <963907+tyiu@users.noreply.github.com> Date: Sat, 14 Sep 2024 12:20:53 -0400 Subject: [PATCH] Fix build for macOS --- Sources/SatsPrice/ContentView.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Sources/SatsPrice/ContentView.swift b/Sources/SatsPrice/ContentView.swift index 9044310..9cf91dc 100644 --- a/Sources/SatsPrice/ContentView.swift +++ b/Sources/SatsPrice/ContentView.swift @@ -57,7 +57,9 @@ public struct ContentView: View { } } } +#if os(iOS) || SKIP .pickerStyle(.navigationLink) +#endif HStack { TextField("", text: $satsViewModel.btcToCurrencyString)