Skip to content

Commit a3688d4

Browse files
committed
Added fix for overlapping method
1 parent 832ab61 commit a3688d4

File tree

1 file changed

+1
-1
lines changed
  • firebase-auth/src/iosMain/kotlin/dev/gitlive/firebase/auth

1 file changed

+1
-1
lines changed

firebase-auth/src/iosMain/kotlin/dev/gitlive/firebase/auth/auth.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ actual class FirebaseAuth internal constructor(val ios: FIRAuth) {
2727
get() = ios.currentUser?.let { FirebaseUser(it) }
2828

2929
actual suspend fun signInWithEmailAndPassword(email: String, password: String) =
30-
AuthResult(ios.awaitResult { signInWithEmailAndPassword(email, password, it) })
30+
AuthResult(ios.awaitResult { signInWithEmail(email = email, password = password, completion = it) })
3131

3232
actual suspend fun signInWithCustomToken(token: String) =
3333
AuthResult(ios.awaitResult { signInWithCustomToken(token, it) })

0 commit comments

Comments
 (0)