diff options
| author | Dustin Mierau <dustin@mierau.me> | 2024-01-05 19:46:13 -0800 |
|---|---|---|
| committer | Dustin Mierau <dustin@mierau.me> | 2024-01-05 19:46:37 -0800 |
| commit | 2f8f71d0410f59d5d303a4c221a628630168bfe2 (patch) | |
| tree | 6a18ae2e4dbd72a688667bd9e819ecee72d76b52 /Hotline/iOS/TrackerView.swift | |
| parent | 57c33eb798f6802fe5af8fcd3d1992a4b63a448f (diff) | |
Add image preview to Files so you don't have to download images to view them, works with animated GIFs too. Added cmd-R shortcut for Servers window. More work on login view.
Diffstat (limited to 'Hotline/iOS/TrackerView.swift')
| -rw-r--r-- | Hotline/iOS/TrackerView.swift | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Hotline/iOS/TrackerView.swift b/Hotline/iOS/TrackerView.swift index 2c0fac4..8359468 100644 --- a/Hotline/iOS/TrackerView.swift +++ b/Hotline/iOS/TrackerView.swift @@ -86,9 +86,9 @@ struct TrackerConnectView: View { ) .cornerRadius(10.0) Button { - let s = Server(name: nil, description: nil, address: address, port: HotlinePorts.DefaultServerPort, users: 0) + let s = Server(name: nil, description: nil, address: address, port: HotlinePorts.DefaultServerPort, users: 0, login: login, password: password) server = s - self.model.login(server: s, login: login, password: password, username: "bolt", iconID: 128) { success in + self.model.login(server: s, username: "bolt", iconID: 128) { success in if !success { print("FAILED LOGIN??") } @@ -392,7 +392,7 @@ struct TrackerView: View { self.model.disconnect() let tempServer = Server(name: nil, description: nil, address: address, port: port, users: 0) - self.model.login(server: tempServer, login: login, password: password, username: "bolt", iconID: 128) { success in + self.model.login(server: tempServer, username: "bolt", iconID: 128) { success in if !success { print("FAILED LOGIN??") } |