diff --git a/app/src/main/java/com/nextcloud/talk/data/network/NetworkMonitorImpl.kt b/app/src/main/java/com/nextcloud/talk/data/network/NetworkMonitorImpl.kt index 05b3bcd48..bc18240ce 100644 --- a/app/src/main/java/com/nextcloud/talk/data/network/NetworkMonitorImpl.kt +++ b/app/src/main/java/com/nextcloud/talk/data/network/NetworkMonitorImpl.kt @@ -66,9 +66,9 @@ class NetworkMonitorImpl @Inject constructor( connectivityManager.unregisterNetworkCallback(networkCallback) } } - .distinctUntilChanged() - .flowOn(Dispatchers.IO) - .conflate() + .distinctUntilChanged() + .flowOn(Dispatchers.IO) + .conflate() private fun ConnectivityManager.isCurrentlyConnected() = activeNetwork