aboutsummaryrefslogtreecommitdiff
path: root/Hotline/macOS/TrackerView.swift
diff options
context:
space:
mode:
authorDustin Mierau <mierau@users.noreply.github.com>2024-03-06 19:13:42 -0800
committerGitHub <noreply@github.com>2024-03-06 19:13:42 -0800
commit6aad4ed3d079db171564144aa69b0431f5af669d (patch)
tree772dfa5dc30df6f16cf59dfcfd868967610deac8 /Hotline/macOS/TrackerView.swift
parentbd457c67bf22ea14b2e16785936cac322eebcd5a (diff)
parent4cd8123107370526a01dfa8d7d1996fe0ff04649 (diff)
Merge pull request #7 from jhalter/fix_login
Fix login/password encoding and bookmark logins
Diffstat (limited to 'Hotline/macOS/TrackerView.swift')
-rw-r--r--Hotline/macOS/TrackerView.swift2
1 files changed, 1 insertions, 1 deletions
diff --git a/Hotline/macOS/TrackerView.swift b/Hotline/macOS/TrackerView.swift
index 073ecdf..a07d40c 100644
--- a/Hotline/macOS/TrackerView.swift
+++ b/Hotline/macOS/TrackerView.swift
@@ -158,7 +158,7 @@ struct TrackerView: View {
openWindow(id: "server", value: server)
}
else if let bookmark = clickedItem.bookmark, bookmark.type == .server {
- let server = Server(name: bookmark.name, description: nil, address: bookmark.address, port: HotlinePorts.DefaultServerPort)
+ let server = Server(name: bookmark.name, description: nil, address: bookmark.address, port: bookmark.port, login: bookmark.login ?? "", password: bookmark.password ?? "")
openWindow(id: "server", value: server)
}
}