From 34a881fbaab062d31cb5b102b8b0346d3fd86131 Mon Sep 17 00:00:00 2001 From: Bnyro Date: Thu, 14 Jul 2022 16:35:58 +0200 Subject: [PATCH] fix ktlint --- .../main/java/com/github/libretube/util/ConnectionHelper.kt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 } }