diff --git a/lib/apis/core/connectivity/connectivity.dart b/lib/apis/core/connectivity/connectivity.dart index f63c213..36100d7 100644 --- a/lib/apis/core/connectivity/connectivity.dart +++ b/lib/apis/core/connectivity/connectivity.dart @@ -17,6 +17,8 @@ class ConnectivityState implements IConnectivity { @override Future init() async { if (_initialized) return; + final result = await Connectivity().checkConnectivity(); + _updateConnectionStatus(result); Connectivity().onConnectivityChanged.listen( _updateConnectionStatus, );