forked from Louvorg/ReaderForSelfoss-multiplatform
Handle most HTTP client creation in common code
This commit is contained in:
1 parent
d167092c83
commit
70ad5f322c
5 files changed
+90
-97
No files matched your search
@@ -144,6 +144,7 @@ class LoginActivity : AppCompatActivity(), DIAware {
|
||||
repository.refreshLoginInformation(url, login, password)
|
||||
|
||||
CoroutineScope(Dispatchers.Main).launch {
|
||||
repository.updateApiInformation()
|
||||
val result = repository.login()
|
||||
if (result) {
|
||||
val (errorFetching, displaySelfossOnly) = repository.shouldBeSelfossInstance()
|
||||
|
||||
Reference in new issue
Block a user