Skip to content

Commit f149f08

Browse files
authored
Fix deprecation warning in GreetingGeneratorExample (#134)
1 parent 3c08809 commit f149f08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Examples/Sources/GreetingGeneratorExample/GreetingGeneratorApp.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ struct GreetingGeneratorApp: App {
1515
WindowGroup("Greeting Generator") {
1616
#hotReloadable {
1717
VStack {
18-
TextField("Name", $name)
18+
TextField("Name", text: $name)
1919
HStack {
2020
Button("Generate") {
2121
greetings.append("Hello, \(name)!")

0 commit comments

Comments
 (0)