Fix a couple of warnings

This commit is contained in:
Stefan Ceriu
2026-02-02 10:00:08 +02:00
committed by Stefan Ceriu
parent c18b4b4f70
commit 37ee5c9c7e
5 changed files with 8 additions and 11 deletions
@@ -86,14 +86,10 @@ struct CompletionSuggestionView: View {
}
private struct BackgroundView<Content: View>: View {
var content: () -> Content
@ViewBuilder var content: () -> Content
private let shadowRadius: CGFloat = 20.0
init(@ViewBuilder content: @escaping () -> Content) {
self.content = content
}
var body: some View {
content()
.background(Color.compound.bgSubtlePrimary)