Skip to content

Commit

Permalink
Lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ahibrahimleague committed Feb 10, 2025
1 parent 377a975 commit 7423543
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.suspendCancellableCoroutine
import kotlinx.coroutines.withContext
import java.util.Locale
import java.util.concurrent.CopyOnWriteArrayList
import java.util.concurrent.CopyOnWriteArraySet
import kotlin.coroutines.CoroutineContext
import kotlin.coroutines.resume
Expand Down Expand Up @@ -122,11 +121,15 @@ public object WebAuthProvider {
state,
object : Callback<Credentials, AuthenticationException> {
override fun onSuccess(result: Credentials) {
callbacks.forEach { it.onSuccess(result) }
for (callback in callbacks) {
callback.onSuccess(result)
}
}

override fun onFailure(error: AuthenticationException) {
callbacks.forEach { it.onFailure(error) }
for (callback in callbacks) {
callback.onFailure(error)
}
}
}
)
Expand Down

0 comments on commit 7423543

Please sign in to comment.