Skip to content

Commit f3ed518

Browse files
author
Christian Elies
committed
docs(readme): fixed indentation
1 parent 9adb379 commit f3ed518

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,14 @@ Upgrade from version `5.0.0` **without breaking anything**. Simply add the **lis
4343

4444
```swift
4545
AdvancedList(yourData, listView: { rows in
46-
if #available(iOS 14, macOS 11, *) {
47-
ScrollView {
48-
LazyVStack(alignment: .leading, content: rows)
49-
.padding()
50-
}
51-
} else {
52-
List(content: rows)
53-
}
46+
if #available(iOS 14, macOS 11, *) {
47+
ScrollView {
48+
LazyVStack(alignment: .leading, content: rows)
49+
.padding()
50+
}
51+
} else {
52+
List(content: rows)
53+
}
5454
}, content: { item in
5555
Text("Item")
5656
}, listState: $listState, emptyStateView: {

0 commit comments

Comments
 (0)