From 77eb4375c4cf06c4e6ad14422e76d126c2ea07e1 Mon Sep 17 00:00:00 2001 From: Laszlo Teveli Date: Wed, 31 Jul 2024 18:27:03 +0200 Subject: [PATCH] Updated README --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c9a90926..853837de 100644 --- a/README.md +++ b/README.md @@ -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) @@ -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)