From f1b371d0b7ba09bc7148bb52ec3c4d3abe79b5cc Mon Sep 17 00:00:00 2001 From: Garth Vander Houwen Date: Wed, 18 Jun 2025 07:26:56 -0700 Subject: [PATCH] revert --- Meshtastic/Views/Bluetooth/Connect.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Meshtastic/Views/Bluetooth/Connect.swift b/Meshtastic/Views/Bluetooth/Connect.swift index e22e844a..1176241a 100644 --- a/Meshtastic/Views/Bluetooth/Connect.swift +++ b/Meshtastic/Views/Bluetooth/Connect.swift @@ -282,7 +282,7 @@ struct Connect: View { .controlSize(.large) .padding() } - if bleManager.allowDisconnect { + if bleManager.isConnecting { Button(role: .destructive, action: { bleManager.cancelPeripheralConnection()