Skip to content

Commit 0d8f6f4

Browse files
committed
Update FieldValue.arrayRemove(...) iOS implementation to call FIRFieldValue.fieldValueForArrayRemove
1 parent 8aed2b3 commit 0d8f6f4

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ actual object FieldValue {
402402
actual val serverTimestamp = Double.POSITIVE_INFINITY
403403
actual val delete: Any get() = FIRFieldValue.fieldValueForDelete()
404404
actual fun arrayUnion(vararg elements: Any): Any = FIRFieldValue.fieldValueForArrayUnion(elements.asList())
405-
actual fun arrayRemove(vararg elements: Any): Any = FIRFieldValue.fieldValueForArrayUnion(elements.asList())
405+
actual fun arrayRemove(vararg elements: Any): Any = FIRFieldValue.fieldValueForArrayRemove(elements.asList())
406406
actual fun delete(): Any = delete
407407
}
408408

0 commit comments

Comments
 (0)