mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-26 19:36:08 +03:00
Soft Logout - display hard logout screen
This commit is contained in:
parent
12d54140e5
commit
c6b98f3654
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue