From 7653d3bf75959c6b6ad57add4bfca87249b9694b Mon Sep 17 00:00:00 2001 From: Alec Miller Date: Sun, 3 Mar 2024 19:20:05 -0800 Subject: [PATCH] kram-profile - small fix to wrapper --- kram-profile/kram-profile/kram_profileApp.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kram-profile/kram-profile/kram_profileApp.swift b/kram-profile/kram-profile/kram_profileApp.swift index 33ef537..96925e9 100644 --- a/kram-profile/kram-profile/kram_profileApp.swift +++ b/kram-profile/kram-profile/kram_profileApp.swift @@ -329,7 +329,7 @@ extension View { public func searchableOptional(text: Binding, isPresented: Binding, placement: SearchFieldPlacement = .automatic, prompt: S) -> some View where S : StringProtocol { if #available(macOS 14.0, *) { return self.searchable(text: text, isPresented: isPresented, placement: - .sidebar, prompt: prompt) + placement, prompt: prompt) } else { return self