3
3
Fork 1
mirror of https://github.com/recloudstream/cloudstream.git synced 2024-08-15 01:53:11 +00:00

Revert network check for now

This commit is contained in:
Luna712 2024-07-18 16:18:55 -06:00 committed by GitHub
parent 21c5114d13
commit 529ffab5bc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -40,7 +40,6 @@ import com.lagradost.cloudstream3.ui.result.FOCUS_SELF
import com.lagradost.cloudstream3.ui.result.setLinearListLayout
import com.lagradost.cloudstream3.ui.settings.Globals.TV
import com.lagradost.cloudstream3.ui.settings.Globals.isLayout
import com.lagradost.cloudstream3.utils.AppContextUtils.isNetworkAvailable
import com.lagradost.cloudstream3.utils.AppContextUtils.loadResult
import com.lagradost.cloudstream3.utils.BackPressedCallbackHelper.attachBackPressedCallback
import com.lagradost.cloudstream3.utils.BackPressedCallbackHelper.detachBackPressedCallback
@ -237,9 +236,7 @@ class DownloadFragment : Fragment() {
}
DOWNLOAD_ACTION_LOAD_RESULT -> {
if (context?.isNetworkAvailable() == true) {
activity?.loadResult(click.data.url, click.data.apiName)
}
activity?.loadResult(click.data.url, click.data.apiName)
}
}
}