From 5689e551f7e767f3e171c5e4064d1ae8943f5379 Mon Sep 17 00:00:00 2001 From: Kevin Evans Date: Fri, 3 Oct 2025 12:58:50 -0700 Subject: [PATCH] fix: confusing param name (#182) * fix: confusing param name * Update lib/src/universal_ble.dart Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> * Update lib/src/universal_ble.dart Co-authored-by: Navideck Labs <130186950+navidecklabs@users.noreply.github.com> --------- Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Co-authored-by: Navideck Labs <130186950+navidecklabs@users.noreply.github.com> --- lib/src/universal_ble.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/src/universal_ble.dart b/lib/src/universal_ble.dart index 7825e7d..cdabfbc 100644 --- a/lib/src/universal_ble.dart +++ b/lib/src/universal_ble.dart @@ -632,8 +632,8 @@ class UniversalBle { _bleCommandQueue.onQueueUpdate = onQueueUpdate; /// Get scan results. - static set onScanResult(OnScanResult? bleDevice) => - _platform.onScanResult = bleDevice; + static set onScanResult(OnScanResult? onScanResult) => + _platform.onScanResult = onScanResult; /// Get connection state changes. static set onConnectionChange(OnConnectionChange? onConnectionChange) =>