Skip to content
This repository was archived by the owner on Jan 29, 2024. It is now read-only.

Commit 00f16c0

Browse files
committed
example fix
Signed-off-by: Wouter01 <wouterhennen@gmail.com>
1 parent 54148e8 commit 00f16c0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Example/WindowManagementProject/ContentView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ struct ContentView: View {
1212
@Environment(\.window) var window
1313
var body: some View {
1414
VStack {
15-
Text("Window title:", window.title)
15+
Text("Window title: \(window.title)")
1616
Button("Open Document (only .h file supported)") {
1717
NSDocumentController.shared.openDocument(nil)
1818
}

0 commit comments

Comments
 (0)