fix: add public to init
This commit is contained in:
parent
8379eaf456
commit
9cc9d5224a
|
@ -4,7 +4,7 @@ public struct BackgroundView<Content: View>: View {
|
|||
let color: Color
|
||||
var content: () -> Content
|
||||
|
||||
init(color: Color = .background, @ViewBuilder content: @escaping () -> Content) {
|
||||
public init(color: Color = .background, @ViewBuilder content: @escaping () -> Content) {
|
||||
self.color = color
|
||||
self.content = content
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue