mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
guh fix
This commit is contained in:
parent
e9a5f29dcc
commit
b07ecab1dd
1 changed files with 2 additions and 1 deletions
|
@ -109,6 +109,7 @@ import kotlinx.android.synthetic.main.bottom_resultview_preview.*
|
||||||
import kotlinx.android.synthetic.main.fragment_result_swipe.*
|
import kotlinx.android.synthetic.main.fragment_result_swipe.*
|
||||||
import kotlinx.coroutines.sync.Mutex
|
import kotlinx.coroutines.sync.Mutex
|
||||||
import kotlinx.coroutines.sync.withLock
|
import kotlinx.coroutines.sync.withLock
|
||||||
|
import kotlinx.coroutines.runBlocking
|
||||||
import java.io.File
|
import java.io.File
|
||||||
import java.net.URI
|
import java.net.URI
|
||||||
import java.net.URLDecoder
|
import java.net.URLDecoder
|
||||||
|
@ -726,7 +727,7 @@ class MainActivity : AppCompatActivity(), ColorPickerDialogListener {
|
||||||
setKey("jsdelivr_proxy_key", false)
|
setKey("jsdelivr_proxy_key", false)
|
||||||
} else {
|
} else {
|
||||||
setKey("jsdelivr_proxy_key", true)
|
setKey("jsdelivr_proxy_key", true)
|
||||||
val parentView = findViewById(android.R.id.content)
|
val parentView: View = findViewById(android.R.id.content)
|
||||||
Snackbar.make(parentView, R.string.jsdelivr_enabled, Snackbar.LENGTH_LONG).let { snackbar ->
|
Snackbar.make(parentView, R.string.jsdelivr_enabled, Snackbar.LENGTH_LONG).let { snackbar ->
|
||||||
snackbar.setAction(R.string.revert) { v ->
|
snackbar.setAction(R.string.revert) { v ->
|
||||||
setKey("jsdelivr_proxy_key", false)
|
setKey("jsdelivr_proxy_key", false)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue