mirror of
https://github.com/neon443/ShhShell.git
synced 2026-03-11 13:26:16 +00:00
fix passpharse
This commit is contained in:
@@ -14,8 +14,6 @@ struct ConnectionView: View {
|
|||||||
|
|
||||||
@State private var shellView: ShellView? = nil
|
@State private var shellView: ShellView? = nil
|
||||||
|
|
||||||
@State var passphrase: String = ""
|
|
||||||
|
|
||||||
@State var pubkeyStr: String = ""
|
@State var pubkeyStr: String = ""
|
||||||
@State var privkeyStr: String = ""
|
@State var privkeyStr: String = ""
|
||||||
|
|
||||||
@@ -109,7 +107,7 @@ struct ConnectionView: View {
|
|||||||
handler.host.privateKey = Data(newStr.utf8)
|
handler.host.privateKey = Data(newStr.utf8)
|
||||||
}
|
}
|
||||||
|
|
||||||
TextField("", text: $passphrase, prompt: Text("Passphrase (Optional)"))
|
TextField("", text: $handler.host.passphrase, prompt: Text("Passphrase (Optional)"))
|
||||||
}
|
}
|
||||||
|
|
||||||
Button() {
|
Button() {
|
||||||
|
|||||||
Reference in New Issue
Block a user