Move two bools on BLEManager back to @Published to prevent regressions on lora config and when bluetooth is off

This commit is contained in:
Garth Vander Houwen 2022-12-05 19:59:07 -08:00
parent 0787587cb4
commit 75a8bdaeb0

View file

@ -26,10 +26,11 @@ class BLEManager: NSObject, CBPeripheralDelegate, ObservableObject {
@Published var isScanning: Bool = false
@Published var lastConnectionError: String
@Published var invalidVersion = false
@Published var preferredPeripheral = false
@Published var isSwitchedOn: Bool = false
public var minimumVersion = "1.3.48"
public var connectedVersion: String
public var preferredPeripheral = false
public var isSwitchedOn: Bool = false
public var isConnecting: Bool = false
public var isConnected: Bool = false
public var isSubscribed: Bool = false