Skip to content

Commit

Permalink
set initial value for BehaviorSubject<SocketConnectionState>
Browse files Browse the repository at this point in the history
update connectivity_plus: ^6.0.3
  • Loading branch information
Klever committed May 24, 2024
1 parent c0621cc commit c701620
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,8 @@ class SocketClient {
final SocketClientConfig config;

final BehaviorSubject<SocketConnectionState> _connectionStateController =
BehaviorSubject<SocketConnectionState>();
BehaviorSubject<SocketConnectionState>.seeded(
SocketConnectionState.notConnected);

final HashMap<String, SubscriptionListener> _subscriptionInitializers =
HashMap();
Expand Down
2 changes: 1 addition & 1 deletion packages/graphql_flutter/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ dependencies:
meta: ^1.7.0
path_provider: ^2.0.1
path: ^1.8.0
connectivity_plus: ^6.0.1
connectivity_plus: ^6.0.3
hive: ^2.0.0
plugin_platform_interface: ^2.0.0
flutter_hooks: '>=0.18.2 <0.21.0'
Expand Down

0 comments on commit c701620

Please sign in to comment.