We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 828c87c commit 5474c11Copy full SHA for 5474c11
1 file changed
apps/flipcash/shared/authentication/src/main/kotlin/com/flipcash/app/auth/AuthManager.kt
@@ -130,7 +130,7 @@ class AuthManager @Inject constructor(
130
.onSuccess { userManager.set(it) }
131
},
132
onFailure = { Result.failure(it) }
133
- ).map { Unit }
+ ).onSuccess { savePrefs() }.map { Unit }
134
}
135
136
suspend fun login(
0 commit comments