Hide connections page by default since unstable

This commit is contained in:
世界
2024-10-06 21:41:14 +08:00
parent 0a456131ea
commit 5e2af0a5c7
10 changed files with 27 additions and 22 deletions
@@ -67,7 +67,7 @@ public struct ConnectionView: View {
Spacer()
VStack(alignment: .trailing) {
Text(connection.inboundType + "/" + connection.inbound)
Text(connection.chain.reversed().joined(separator: "/"))
Text(connection.chain[0])
}
}
}
@@ -111,7 +111,7 @@ public struct ConnectionView: View {
private nonisolated func closeConnection() async {
do {
try LibboxNewStandaloneCommandClient()!.closeConnection(connection.id)
try await LibboxNewStandaloneCommandClient()!.closeConnection(connection.id)
} catch {
await MainActor.run {
alert = Alert(error)