Skip to content

Commit b19b759

Browse files
authored
Fix deprecation warning in WindowingApp example (#132)
1 parent 253df30 commit b19b759

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Examples/Sources/WindowingExample/WindowingApp.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ struct WindowingApp: App {
7676
VStack {
7777
HStack {
7878
Text("Window title:")
79-
TextField("My window", $title)
79+
TextField("My window", text: $title)
8080
}
8181

8282
Button(resizable ? "Disable resizing" : "Enable resizing") {

0 commit comments

Comments
 (0)