File tree 2 files changed +6
-6
lines changed
Sources/SherlockForms/List
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ extension SherlockView
11
11
public func nestedList< Data, ID, RowContent> (
12
12
data: Data ,
13
13
id: KeyPath < Data . Element , ID > ,
14
- rowContent: @escaping ( Data . Element ) -> RowContent
14
+ @ ViewBuilder rowContent: @escaping ( Data . Element ) -> RowContent
15
15
) -> some View
16
16
where
17
17
Data: MutableCollection & RangeReplaceableCollection ,
@@ -31,7 +31,7 @@ extension SherlockView
31
31
@ViewBuilder
32
32
public func nestedList< Data, RowContent> (
33
33
data: Data ,
34
- rowContent: @escaping ( Data . Element ) -> RowContent
34
+ @ ViewBuilder rowContent: @escaping ( Data . Element ) -> RowContent
35
35
) -> some View
36
36
where
37
37
Data: MutableCollection & RangeReplaceableCollection ,
70
70
data: Data ,
71
71
id: KeyPath < Data . Element , ID > ,
72
72
canShowCell: @MainActor @escaping ( _ keywords: [ String ] ) -> Bool ,
73
- rowContent: @escaping ( Data . Element ) -> RowContent
73
+ @ ViewBuilder rowContent: @escaping ( Data . Element ) -> RowContent
74
74
)
75
75
{
76
76
self . data = data
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ extension SherlockView
9
9
public func simpleList< Data, ID, RowContent> (
10
10
data: Data ,
11
11
id: KeyPath < Data . Element , ID > ,
12
- rowContent: @escaping ( Data . Element ) -> RowContent
12
+ @ ViewBuilder rowContent: @escaping ( Data . Element ) -> RowContent
13
13
) -> some View
14
14
where
15
15
Data: MutableCollection & RangeReplaceableCollection ,
@@ -29,7 +29,7 @@ extension SherlockView
29
29
@ViewBuilder
30
30
public func simpleList< Data, RowContent> (
31
31
data: Data ,
32
- rowContent: @escaping ( Data . Element ) -> RowContent
32
+ @ ViewBuilder rowContent: @escaping ( Data . Element ) -> RowContent
33
33
) -> some View
34
34
where
35
35
Data: MutableCollection & RangeReplaceableCollection ,
68
68
data: Data ,
69
69
id: KeyPath < Data . Element , ID > ,
70
70
canShowCell: @MainActor @escaping ( _ keywords: [ String ] ) -> Bool ,
71
- rowContent: @escaping ( Data . Element ) -> RowContent
71
+ @ ViewBuilder rowContent: @escaping ( Data . Element ) -> RowContent
72
72
)
73
73
{
74
74
self . data = data
You can’t perform that action at this time.
0 commit comments