Merge pull request #1278 from meshtastic/mac_button_fix

revert button change
This commit is contained in:
Garth Vander Houwen 2025-06-18 07:27:40 -07:00 committed by GitHub
commit a14ec9fc2d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -282,7 +282,7 @@ struct Connect: View {
.controlSize(.large)
.padding()
}
if bleManager.allowDisconnect {
if bleManager.isConnecting {
Button(role: .destructive, action: {
bleManager.cancelPeripheralConnection()