Skip to content

Commit

Permalink
Updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
tevelee committed Jul 31, 2024
1 parent 0f3e7f2 commit 77eb437
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ struct Colors: View {

var body: some View {
HFlow {
ForEach(colors + colors, id: \.description) { color in
ForEach(colors, id: \.description) { color in
RoundedRectangle(cornerRadius: 10)
.fill(color.gradient)
.frame(width: Double.random(in: 40...60), height: 50)
Expand Down Expand Up @@ -90,7 +90,7 @@ Justify by stretching items, the spaces between them, or both.

```swift
HFlow(justification: .stretchItems) {
ForEach(colors + colors, id: \.description) { color in
ForEach(colors, id: \.description) { color in
RoundedRectangle(cornerRadius: 10)
.fill(color.gradient)
.frame(height: 50)
Expand Down

0 comments on commit 77eb437

Please sign in to comment.