Fix comment

pull/447/head
Don Turner 3 years ago
parent 98ae49f759
commit 9fa3dadcfd

@ -38,10 +38,10 @@ class ConnectivityManagerNetworkMonitor @Inject constructor(
override val isOnline: Flow<Boolean> = callbackFlow {
val connectivityManager = context.getSystemService<ConnectivityManager>()
/*
The callback's methods are invoked on changes to *any* network, not just the active
network. So to check for network connectivity, one must query the active network of the
ConnectivityManager.
/**
* The callback's methods are invoked on changes to *any* network, not just the active
* network. So to check for network connectivity, one must query the active network of the
* ConnectivityManager.
*/
val callback = object : NetworkCallback() {
override fun onAvailable(network: Network) {

Loading…
Cancel
Save