Skip to content

Commit 9fa3dad

Browse files
committed
Fix comment
1 parent 98ae49f commit 9fa3dad

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

core/data/src/main/java/com/google/samples/apps/nowinandroid/core/data/util/ConnectivityManagerNetworkMonitor.kt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ class ConnectivityManagerNetworkMonitor @Inject constructor(
3838
override val isOnline: Flow<Boolean> = callbackFlow {
3939
val connectivityManager = context.getSystemService<ConnectivityManager>()
4040

41-
/*
42-
The callback's methods are invoked on changes to *any* network, not just the active
43-
network. So to check for network connectivity, one must query the active network of the
44-
ConnectivityManager.
45-
*/
41+
/**
42+
* The callback's methods are invoked on changes to *any* network, not just the active
43+
* network. So to check for network connectivity, one must query the active network of the
44+
* ConnectivityManager.
45+
*/
4646
val callback = object : NetworkCallback() {
4747
override fun onAvailable(network: Network) {
4848
channel.trySend(connectivityManager.isCurrentlyConnected())

0 commit comments

Comments
 (0)