Fix(bugs):
Can't logout ui display when user doesn't has device
This commit is contained in:
@@ -22,6 +22,10 @@ class HomeBloc extends BlocBase {
|
||||
StreamSink<int> get sinkCountNotification => countNotification.sink;
|
||||
Stream<int> get streamCountNotification => countNotification.stream;
|
||||
|
||||
final hasJoinedDevice = StreamController<bool?>.broadcast();
|
||||
StreamSink<bool?> get sinkHasJoinedDevice => hasJoinedDevice.sink;
|
||||
Stream<bool?> get streamHasJoinedDevice => hasJoinedDevice.stream;
|
||||
|
||||
final ownerDevicesStatus =
|
||||
StreamController<Map<String, List<DeviceWithAlias>>>.broadcast();
|
||||
StreamSink<Map<String, List<DeviceWithAlias>>>
|
||||
|
||||
Reference in New Issue
Block a user