This commit is contained in:
C10udburst 2022-08-07 11:08:25 +02:00
parent f9d3aa1861
commit 15f2299742

View file

@ -331,6 +331,7 @@ class MainActivity : AppCompatActivity(), ColorPickerDialogListener {
if (str.startsWith("https://cs.repo")) {
val realUrl = "https://" + str.substringAfter("?")
println("Repository url: $realUrl")
val activity = this
ioSafe {
val repo = RepositoryManager.parseRepository(realUrl) ?: return@ioSafe
RepositoryManager.addRepository(