Skip to content

Commit 94cf28a

Browse files
committed
Fixed access level for condition modifier.
1 parent 9941ab8 commit 94cf28a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SwiftUIExtension/Extensions/ViewExtension.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import SwiftUI
22

33
extension View {
44

5-
@ViewBuilder func `if`<Content: View>(_ condition: Bool, transform: (Self) -> Content) -> some View {
5+
@ViewBuilder public func `if`<Content: View>(_ condition: Bool, transform: (Self) -> Content) -> some View {
66
if condition {
77
transform(self)
88
} else {

0 commit comments

Comments
 (0)