From e7879a49f6a4005624f01f8a1e5068fd866d15bc Mon Sep 17 00:00:00 2001 From: reasje Date: Sun, 21 Jul 2024 17:58:57 +0330 Subject: [PATCH] fix: Uninitialized error stream --- .../packages/bluetooth/blue_plus/bluetooth_use_case.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/features/common/packages/bluetooth/blue_plus/bluetooth_use_case.dart b/lib/features/common/packages/bluetooth/blue_plus/bluetooth_use_case.dart index 6c8f7e79..12efc251 100644 --- a/lib/features/common/packages/bluetooth/blue_plus/bluetooth_use_case.dart +++ b/lib/features/common/packages/bluetooth/blue_plus/bluetooth_use_case.dart @@ -33,9 +33,9 @@ class BluetoothUseCase extends ReactiveUseCase { final ChainConfigurationUseCase _chainConfigurationUseCase; final AuthUseCase _authUseCase; - late StreamSubscription>? scannerListener; - late StreamSubscription? stateListener; - late StreamSubscription? isScanningStateListener; + StreamSubscription>? scannerListener; + StreamSubscription? stateListener; + StreamSubscription? isScanningStateListener; late final ValueStream isScanning = reactive(false); late final ValueStream bluetoothStatus =