fix issue with BML only login and not going home after app relaunch
Auto Tag on Version Change / check-version (push) Successful in 5s
Auto Tag on Version Change / check-version (push) Successful in 5s
This commit is contained in:
@@ -15,7 +15,8 @@ class MainActivity : AppCompatActivity() {
|
|||||||
val prefs = getSharedPreferences("prefs", MODE_PRIVATE)
|
val prefs = getSharedPreferences("prefs", MODE_PRIVATE)
|
||||||
val onboardingDone = prefs.getBoolean("onboarding_done", false)
|
val onboardingDone = prefs.getBoolean("onboarding_done", false)
|
||||||
val securitySet = prefs.getString("security_method", null) != null
|
val securitySet = prefs.getString("security_method", null) != null
|
||||||
val hasCredentials = CredentialStore(this).hasMibCredentials()
|
val store = CredentialStore(this)
|
||||||
|
val hasCredentials = store.hasMibCredentials() || store.hasBmlCredentials()
|
||||||
|
|
||||||
val target = when {
|
val target = when {
|
||||||
!onboardingDone -> OnboardingActivity::class.java
|
!onboardingDone -> OnboardingActivity::class.java
|
||||||
|
|||||||
Reference in New Issue
Block a user