mirror of
https://github.com/neon443/ShhShell.git
synced 2026-03-11 21:36:17 +00:00
removed lots of conurrency
its prob not needed tbh
This commit is contained in:
@@ -32,10 +32,8 @@ struct ShellView: View {
|
||||
.toolbar {
|
||||
ToolbarItem {
|
||||
Button() {
|
||||
Task {
|
||||
await handler.disconnect()
|
||||
if !handler.connected { dismiss() }
|
||||
}
|
||||
handler.disconnect()
|
||||
if !handler.connected { dismiss() }
|
||||
} label: {
|
||||
Label("Disconnect", systemImage: "xmark.app.fill")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user