chrome BLE load fix
This commit is contained in:
1 parent
ab05cf8b3e
commit
71129bdf4d
1 file changed
-1
@@ -893,7 +893,6 @@ class MeshCoreConnector extends ChangeNotifier {
|
||||
// ignore: unawaited_futures
|
||||
_txCharacteristic!.setNotifyValue(true, timeout: 2).catchError((e) {
|
||||
debugPrint('Web setNotifyValue error (ignoring): $e');
|
||||
return false; // catchError must return a bool to match Future<bool>
|
||||
});
|
||||
// Give the browser a moment to process the underlying startNotifications call
|
||||
await Future.delayed(const Duration(milliseconds: 500));
|
||||
|
||||
Reference in new issue
Block a user