Update ConnectivityManagerNetworkMonitor.kt

pull/716/head
Simon Marquis 2 years ago committed by GitHub
parent 7819a0c6bc
commit ec9155fef9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -48,7 +48,7 @@ class ConnectivityManagerNetworkMonitor @Inject constructor(
*/ */
fun update() { fun update() {
channel.trySend(connectivityManager.isCurrentlyConnected()) channel.trySend(connectivityManager.isCurrentlyConnected())
} }
/** /**
* The callback's methods are invoked on changes to *any* network, not just the active * The callback's methods are invoked on changes to *any* network, not just the active

Loading…
Cancel
Save