Merge pull request #780 from Bnyro/master

fix ktlint
This commit is contained in:
Bnyro 2022-07-14 16:36:23 +02:00 committed by GitHub
commit 7b2e8ae09b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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