From b9ce4e2234513fb72f9f4a88f7f307a7a5666dfb Mon Sep 17 00:00:00 2001 From: Michael Cavallaro Date: Mon, 18 Dec 2023 15:08:12 -0700 Subject: [PATCH] Fix compiling for spring animation --- Sources/CommandBarIOS/Components/BottomSheet.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/CommandBarIOS/Components/BottomSheet.swift b/Sources/CommandBarIOS/Components/BottomSheet.swift index 1b85fed..5998a15 100644 --- a/Sources/CommandBarIOS/Components/BottomSheet.swift +++ b/Sources/CommandBarIOS/Components/BottomSheet.swift @@ -94,7 +94,7 @@ struct BottomSheet: View { } }.onAppear(perform: { DispatchQueue.main.async { - withAnimation(.spring) { + withAnimation(.spring()) { self.showSheet = true } }