diff options
| author | Dustin Mierau <dustin@mierau.me> | 2024-01-03 15:40:24 -0800 |
|---|---|---|
| committer | Dustin Mierau <dustin@mierau.me> | 2024-01-03 15:40:24 -0800 |
| commit | 64368ad8690f0a071f2490e8429c0437694133ee (patch) | |
| tree | 2e0eac2130ff39498ccab2fa8f6abf905f7c5a4d /Hotline/Application.swift | |
| parent | 4d31accad9d6bf901928f4293f29cb62f6f77260 (diff) | |
Fix issue with username saving to server with each change in username textfield.
Diffstat (limited to 'Hotline/Application.swift')
| -rw-r--r-- | Hotline/Application.swift | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Hotline/Application.swift b/Hotline/Application.swift index baea4da..0804615 100644 --- a/Hotline/Application.swift +++ b/Hotline/Application.swift @@ -33,7 +33,7 @@ struct Application: App { .defaultSize(width: 700, height: 600) .defaultPosition(.center) - WindowGroup(for: Server.self) { $server in + WindowGroup(id: "server", for: Server.self) { $server in if let s = server { ServerView(server: s) .frame(minWidth: 400, minHeight: 300) |