From 9c32778d015552fa91aa4ed5dad5c484a92e6167 Mon Sep 17 00:00:00 2001 From: neon443 <69979447+neon443@users.noreply.github.com> Date: Mon, 30 Jun 2025 12:16:04 +0100 Subject: [PATCH] fix passpharse --- ShhShell/Views/Hosts/ConnectionView.swift | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ShhShell/Views/Hosts/ConnectionView.swift b/ShhShell/Views/Hosts/ConnectionView.swift index 8850f25..5898668 100644 --- a/ShhShell/Views/Hosts/ConnectionView.swift +++ b/ShhShell/Views/Hosts/ConnectionView.swift @@ -14,8 +14,6 @@ struct ConnectionView: View { @State private var shellView: ShellView? = nil - @State var passphrase: String = "" - @State var pubkeyStr: String = "" @State var privkeyStr: String = "" @@ -109,7 +107,7 @@ struct ConnectionView: View { handler.host.privateKey = Data(newStr.utf8) } - TextField("", text: $passphrase, prompt: Text("Passphrase (Optional)")) + TextField("", text: $handler.host.passphrase, prompt: Text("Passphrase (Optional)")) } Button() {