mirror of
https://github.com/neon443/ShhShell.git
synced 2026-03-11 13:26:16 +00:00
remove quick connect because it doesnt work :cry
This commit is contained in:
@@ -32,24 +32,6 @@ struct HostsView: View {
|
||||
}
|
||||
.id(host)
|
||||
.animation(.default, value: host)
|
||||
.fullScreenCover(
|
||||
isPresented: Binding(
|
||||
get: { checkShell(handler.state) },
|
||||
set: { newValue in
|
||||
handler.go()
|
||||
}
|
||||
)
|
||||
) {
|
||||
ShellView(handler: handler, hostsManager: hostsManager)
|
||||
}
|
||||
.swipeActions(edge: .leading) {
|
||||
Button() {
|
||||
handler.go()
|
||||
} label: {
|
||||
Label("Quick Connect", systemImage: "power")
|
||||
}
|
||||
.foregroundStyle(.green)
|
||||
}
|
||||
.swipeActions(edge: .trailing) {
|
||||
Button(role: .destructive) {
|
||||
hostsManager.removeHost(host)
|
||||
|
||||
Reference in New Issue
Block a user