aboutsummaryrefslogtreecommitdiff
path: root/Hotline
diff options
context:
space:
mode:
authorJeff Halter <868228+jhalter@users.noreply.github.com>2024-01-22 18:31:24 -0800
committerJeff Halter <868228+jhalter@users.noreply.github.com>2024-01-22 18:31:24 -0800
commit4cd8123107370526a01dfa8d7d1996fe0ff04649 (patch)
tree09d3b3af16988d7ee2543f808adbcef67614486a /Hotline
parent99bdd7a9da8e66ee609ac1d862e25526322b5f9c (diff)
Fix bookmarks that use non-default login, password, port
Diffstat (limited to 'Hotline')
-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)
}
}