Forces soft logout to be true for testing

This commit is contained in:
ericdecanini 2022-03-02 12:30:28 +01:00
parent 1c94a7ddc7
commit dab866d170

View file

@ -60,7 +60,7 @@ data class MainActivityArgs(
val clearCredentials: Boolean = false, val clearCredentials: Boolean = false,
val isUserLoggedOut: Boolean = false, val isUserLoggedOut: Boolean = false,
val isAccountDeactivated: Boolean = false, val isAccountDeactivated: Boolean = false,
val isSoftLogout: Boolean = false val isSoftLogout: Boolean = true
) : Parcelable ) : Parcelable
/** /**
@ -135,7 +135,7 @@ class MainActivity : VectorBaseActivity<ActivityMainBinding>(), UnlockedActivity
clearCredentials = argsFromIntent?.clearCredentials ?: false, clearCredentials = argsFromIntent?.clearCredentials ?: false,
isUserLoggedOut = argsFromIntent?.isUserLoggedOut ?: false, isUserLoggedOut = argsFromIntent?.isUserLoggedOut ?: false,
isAccountDeactivated = argsFromIntent?.isAccountDeactivated ?: false, isAccountDeactivated = argsFromIntent?.isAccountDeactivated ?: false,
isSoftLogout = argsFromIntent?.isSoftLogout ?: false isSoftLogout = argsFromIntent?.isSoftLogout ?: true
) )
} }