Cookies login and logout.
This commit is contained in:
1 parent
7b68264dd7
commit
956c4341c7
6 files changed
+149
-66
No files matched your search
@@ -869,7 +869,9 @@ class HomeActivity : AppCompatActivity(), SearchView.OnQueryTextListener, DIAwar
|
||||
return true
|
||||
}
|
||||
R.id.action_disconnect -> {
|
||||
appSettingsService.clearAll()
|
||||
CoroutineScope(Dispatchers.Main).launch {
|
||||
repository.logout()
|
||||
}
|
||||
val intent = Intent(this, LoginActivity::class.java)
|
||||
this.startActivity(intent)
|
||||
this@HomeActivity.finish()
|
||||
|
||||
Reference in new issue
Block a user