From 4349f50167f50b30d7cd71854882ab33ac6ea5ea Mon Sep 17 00:00:00 2001 From: Dustin Mierau Date: Sat, 6 Jan 2024 09:33:39 -0800 Subject: Disable fast open on TCP connection. Fix some build issues in iOS build. --- Hotline/iOS/TrackerView.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Hotline/iOS') diff --git a/Hotline/iOS/TrackerView.swift b/Hotline/iOS/TrackerView.swift index 8359468..a40ab03 100644 --- a/Hotline/iOS/TrackerView.swift +++ b/Hotline/iOS/TrackerView.swift @@ -292,7 +292,7 @@ struct TrackerView: View { } else { Button("Connect") { - self.model.login(server: server, login: "", password: "", username: "bolt", iconID: 128) { success in + self.model.login(server: server, username: "bolt", iconID: 128) { success in if !success { print("FAILED LOGIN??") } @@ -391,7 +391,7 @@ struct TrackerView: View { self.model.disconnect() - let tempServer = Server(name: nil, description: nil, address: address, port: port, users: 0) + let tempServer = Server(name: nil, description: nil, address: address, port: port, users: 0, login: login, password: password) self.model.login(server: tempServer, username: "bolt", iconID: 128) { success in if !success { print("FAILED LOGIN??") -- cgit