From 64368ad8690f0a071f2490e8429c0437694133ee Mon Sep 17 00:00:00 2001 From: Dustin Mierau Date: Wed, 3 Jan 2024 15:40:24 -0800 Subject: Fix issue with username saving to server with each change in username textfield. --- Hotline/Application.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Hotline/Application.swift') 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) -- cgit