We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 052f11c commit c93a77eCopy full SHA for c93a77e
1 file changed
lib/src/features/discovery/data/ble_discoverer.dart
@@ -270,17 +270,6 @@ class BLEDiscoverer {
270
return;
271
}
272
273
- // Sync existing devices that are missing critical metadata (Zero-Read fallback)
274
- final needsSync = await isar.db.foundDevices
275
- .filter()
276
- .publicKeyIsNull()
277
- .findAll();
278
- for (final dev in needsSync) {
279
- if (!_syncQueue.containsKey(dev.stableId)) {
280
- _syncQueue[dev.stableId] = BluetoothDevice.fromId(dev.remoteId);
281
- }
282
283
-
284
if (FlutterBluePlus.isScanningNow) {
285
await FlutterBluePlus.stopScan();
286
await Future.delayed(const Duration(seconds: 1));
0 commit comments