mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
guh
This commit is contained in:
parent
f9d3aa1861
commit
15f2299742
1 changed files with 1 additions and 0 deletions
|
@ -331,6 +331,7 @@ class MainActivity : AppCompatActivity(), ColorPickerDialogListener {
|
||||||
if (str.startsWith("https://cs.repo")) {
|
if (str.startsWith("https://cs.repo")) {
|
||||||
val realUrl = "https://" + str.substringAfter("?")
|
val realUrl = "https://" + str.substringAfter("?")
|
||||||
println("Repository url: $realUrl")
|
println("Repository url: $realUrl")
|
||||||
|
val activity = this
|
||||||
ioSafe {
|
ioSafe {
|
||||||
val repo = RepositoryManager.parseRepository(realUrl) ?: return@ioSafe
|
val repo = RepositoryManager.parseRepository(realUrl) ?: return@ioSafe
|
||||||
RepositoryManager.addRepository(
|
RepositoryManager.addRepository(
|
||||||
|
|
Loading…
Reference in a new issue