mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
Fix a couple of warnings
This commit is contained in:
committed by
Stefan Ceriu
parent
c18b4b4f70
commit
37ee5c9c7e
+1
-5
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user