Skip to content

Commit d37b2b1

Browse files
authored
Update README.md
1 parent fd194ee commit d37b2b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ will create a transition that animates the view from a random offset.
2222

2323
By default, different instances of the same `View` or `ViewModifier` generate unique `@Random` values. To ensure consistency, you can provide a custom seed via the property wrapper’s `projectedValue`'s `seed` value.
2424

25-
For example, assigning a model’s `hashValue` to `$greeting` ensures stability when the view gets recreated, say in a `LazyVStack`.
25+
For example, assigning a model’s `hashValue` to `$greeting.seed` ensures stability when the view gets recreated, say in a `LazyVStack`.
2626

2727
```swift
2828
struct Cell: View {

0 commit comments

Comments
 (0)