We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad5c349 commit ece91bcCopy full SHA for ece91bc
apps/flipcash/shared/authentication/src/main/kotlin/com/flipcash/app/auth/AuthManager.kt
@@ -56,12 +56,11 @@ class AuthManager @Inject constructor(
56
57
fun init(onInitialized: () -> Unit = { }) {
58
launch {
59
- when (val result = credentialManager.lookup().also { taggedTrace("lookup result: $it") }) {
+ when (val result = credentialManager.lookup().also { taggedTrace("lookup result: ${it::class.simpleName}") }) {
60
is LookupResult.ExistingAccountFound -> {
61
val token = result.entropy
62
softLogin(token)
63
.onSuccess { onInitialized() }
64
- .onFailure(ErrorUtils::handleError)
65
}
66
LookupResult.NoAccountFound -> Unit
67
is LookupResult.TemporaryAccountCreated -> {
0 commit comments