From 3a7892f133e5ef54c21502b5992ddb2cb6ac6683 Mon Sep 17 00:00:00 2001 From: Michael Cavallaro Date: Mon, 18 Dec 2023 14:58:13 -0700 Subject: [PATCH] Fix compiling --- 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 3a62875..1b85fed 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(duration: 0.3)) { + withAnimation(.spring) { self.showSheet = true } }