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 061aa30 commit 33f2cc8Copy full SHA for 33f2cc8
firebase-firestore/src/androidMain/kotlin/dev/gitlive/firebase/firestore/firestore.kt
@@ -465,7 +465,7 @@ actual class FieldPath private constructor(val android: com.google.firebase.fire
465
actual object FieldValue {
466
actual val serverTimestamp = Double.POSITIVE_INFINITY
467
actual val delete: Any get() = FieldValue.delete()
468
- actual fun increment(value: Int): Any = FieldValue.increment(value)
+ actual fun increment(value: Int): Any = FieldValue.increment(value.toDouble())
469
actual fun arrayUnion(vararg elements: Any): Any = FieldValue.arrayUnion(*elements)
470
actual fun arrayRemove(vararg elements: Any): Any = FieldValue.arrayRemove(*elements)
471
actual fun delete(): Any = delete
0 commit comments