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

Commit

Permalink
fix: Uninitialized error stream
Browse files Browse the repository at this point in the history
  • Loading branch information
reasje committed Jul 21, 2024
1 parent a2b7a1a commit e7879a4
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ class BluetoothUseCase extends ReactiveUseCase {
final ChainConfigurationUseCase _chainConfigurationUseCase;
final AuthUseCase _authUseCase;

late StreamSubscription<List<ScanResult>>? scannerListener;
late StreamSubscription<BluetoothAdapterState>? stateListener;
late StreamSubscription<bool>? isScanningStateListener;
StreamSubscription<List<ScanResult>>? scannerListener;
StreamSubscription<BluetoothAdapterState>? stateListener;
StreamSubscription<bool>? isScanningStateListener;

late final ValueStream<bool> isScanning = reactive(false);
late final ValueStream<BluetoothAdapterState> bluetoothStatus =
Expand Down

0 comments on commit e7879a4

Please sign in to comment.