removed lots of conurrency

its prob not needed tbh
This commit is contained in:
neon443
2025-06-25 13:06:07 +01:00
parent 46ba88aacb
commit 058915b115
3 changed files with 31 additions and 36 deletions

View File

@@ -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")
}