Logout fix.
This commit is contained in:
parent
f42ae97326
commit
2cfaa9b285
@ -600,9 +600,9 @@ class HomeActivity : AppCompatActivity(), SearchView.OnQueryTextListener, DIAwar
|
||||
CoroutineScope(Dispatchers.Main).launch {
|
||||
repository.logout()
|
||||
}
|
||||
this@HomeActivity.finish()
|
||||
val intent = Intent(this, LoginActivity::class.java)
|
||||
this.startActivity(intent)
|
||||
this@HomeActivity.finish()
|
||||
return true
|
||||
}
|
||||
R.id.action_settings -> {
|
||||
|
Loading…
Reference in New Issue
Block a user