Fix: Add Repo(Again)

This commit is contained in:
LooKeR 2021-10-19 01:50:09 +05:30 committed by GitHub
parent 95d1c6954f
commit 51025ba11a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -475,7 +475,7 @@ class EditRepositoryFragment() : ScreenFragment() {
.observeOn(AndroidSchedulers.mainThread())
.subscribe { result, throwable ->
checkDisposable = null
throwable.printStackTrace()
throwable?.printStackTrace()
val resultAddress =
result?.let { if (it.isEmpty()) null else it } ?: address
val allow = resultAddress == address || run {