mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-15 01:35:07 +08:00
Soft Logout - display hard logout screen
This commit is contained in:
parent
12d54140e5
commit
c6b98f3654
@ -176,7 +176,8 @@ class MainActivity : VectorBaseActivity() {
|
||||
|
||||
private fun startNextActivityAndFinish() {
|
||||
val intent = when {
|
||||
args.clearCredentials ->
|
||||
args.clearCredentials
|
||||
&& !args.isUserLoggedOut ->
|
||||
// User has explicitly asked to log out
|
||||
LoginActivity.newIntent(this, null)
|
||||
args.isSoftLogout ->
|
||||
|
Loading…
Reference in New Issue
Block a user