Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

Commit

Permalink
fix: Integrate connection handler
Browse files Browse the repository at this point in the history
  • Loading branch information
reasje committed Jul 29, 2024
1 parent 4dac62e commit ef18dce
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -740,7 +740,8 @@ class OpenDAppPresenter extends CompletePresenter<OpenDAppState> {
Future<Map<String, dynamic>> handleBluetoothRemoteGATTServerConnect(
Map<String, dynamic> data) async {
collectLog('handleBluetoothRemoteGATTServerConnect : $data');
await state.selectedScanResult?.device.connect();

await _bluetoothUseCase.connectionHandler(state.selectedScanResult!.device);

return BluetoothRemoteGATTServer(
device: BluetoothDevice.getBluetoothDeviceFromScanResult(
Expand Down

0 comments on commit ef18dce

Please sign in to comment.