Fix readme typo

This commit is contained in:
Foti Dim
2024-03-25 09:36:43 +01:00
parent 7e19329bd5
commit 4f22fe56cd
+1 -1
View File
@@ -76,7 +76,7 @@ Before initiating a scan, ensure that Bluetooth is available:
```dart
AvailabilityState state = await UniversalBle.getBluetoothAvailabilityState()
// Start scan only if Bluetooth is powered on
if (state != AvailabilityState.poweredOn) {
if (state == AvailabilityState.poweredOn) {
UniversalBle.startScan();
}