fix ktlint

This commit is contained in:
Bnyro 2022-07-14 16:35:58 +02:00
parent 700781d63a
commit 34a881fbaa

View File

@ -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
}
}