diff --git a/app/src/main/java/com/github/libretube/util/ConnectionHelper.kt b/app/src/main/java/com/github/libretube/util/ConnectionHelper.kt index 545252c47..1ba230baa 100644 --- a/app/src/main/java/com/github/libretube/util/ConnectionHelper.kt +++ b/app/src/main/java/com/github/libretube/util/ConnectionHelper.kt @@ -2,8 +2,6 @@ package com.github.libretube.util import android.content.Context import android.net.ConnectivityManager -import android.net.NetworkCapabilities -import android.os.Build object ConnectionHelper { fun isNetworkAvailable(context: Context): Boolean { @@ -32,7 +30,7 @@ object ConnectionHelper { return connectivityManager.activeNetworkInfo?.isConnected ?: false } */ - + return connectivityManager.activeNetworkInfo?.isConnected ?: false } }