Skip to content

Commit

Permalink
Fix compiling for spring animation
Browse files Browse the repository at this point in the history
  • Loading branch information
Cavallando committed Dec 18, 2023
1 parent 3a7892f commit b9ce4e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/CommandBarIOS/Components/BottomSheet.swift
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ struct BottomSheet<Content: View>: View {
}
}.onAppear(perform: {
DispatchQueue.main.async {
withAnimation(.spring) {
withAnimation(.spring()) {
self.showSheet = true
}
}
Expand Down

0 comments on commit b9ce4e2

Please sign in to comment.