mainacotr for sshhandler

added a cleanup to run after 10s clearing memory for keys and files
remove timer code
remove write(1 to stop console echo
open links
image -> systemImage
This commit is contained in:
neon443
2025-06-23 10:19:49 +01:00
parent ea857a8960
commit 01d569a859
3 changed files with 22 additions and 31 deletions

View File

@@ -25,7 +25,7 @@ struct ShellView: View {
}
} label: {
if handler.connected {
Label("Disconnect", image: "xmark.square.fill")
Label("Disconnect", systemImage: "xmark.square.fill")
} else {
Label("Connect", image: "power")
}