From ef18dce9ada76e3050278b7b68088e4a3a0917a4 Mon Sep 17 00:00:00 2001 From: reasje Date: Mon, 29 Jul 2024 17:30:12 +0330 Subject: [PATCH] fix: Integrate connection handler --- .../dapps/subfeatures/open_dapp/open_dapp_presenter.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/features/dapps/subfeatures/open_dapp/open_dapp_presenter.dart b/lib/features/dapps/subfeatures/open_dapp/open_dapp_presenter.dart index 59546679..94959bfc 100644 --- a/lib/features/dapps/subfeatures/open_dapp/open_dapp_presenter.dart +++ b/lib/features/dapps/subfeatures/open_dapp/open_dapp_presenter.dart @@ -740,7 +740,8 @@ class OpenDAppPresenter extends CompletePresenter { Future> handleBluetoothRemoteGATTServerConnect( Map data) async { collectLog('handleBluetoothRemoteGATTServerConnect : $data'); - await state.selectedScanResult?.device.connect(); + + await _bluetoothUseCase.connectionHandler(state.selectedScanResult!.device); return BluetoothRemoteGATTServer( device: BluetoothDevice.getBluetoothDeviceFromScanResult(