aboutsummaryrefslogtreecommitdiff
path: root/Hotline/macOS/ServerView.swift
diff options
context:
space:
mode:
Diffstat (limited to 'Hotline/macOS/ServerView.swift')
-rw-r--r--Hotline/macOS/ServerView.swift4
1 files changed, 1 insertions, 3 deletions
diff --git a/Hotline/macOS/ServerView.swift b/Hotline/macOS/ServerView.swift
index 49413fe..77b6dc8 100644
--- a/Hotline/macOS/ServerView.swift
+++ b/Hotline/macOS/ServerView.swift
@@ -307,9 +307,7 @@ struct ServerView: View {
.keyboardShortcut(.cancelAction)
Button("Connect") {
- Task {
- await connectToServer()
- }
+ connectToServer()
}
.controlSize(.regular)