Rework repository initialization

This commit is contained in:
2022-10-21 22:42:32 +02:00
parent c25e8889a4
commit 53b1d1f8b2
2 changed files with 4 additions and 11 deletions

View File

@ -93,6 +93,9 @@ class LoginActivity : AppCompatActivity(), DIAware {
}
private fun goToMain() {
CoroutineScope(Dispatchers.Main).launch {
repository.updateApiVersion()
}
val intent = Intent(this, HomeActivity::class.java)
startActivity(intent)
finish()