Skip to content

Commit 0127524

Browse files
committed
fix missing imports
1 parent 80e03de commit 0127524

File tree

1 file changed

+3
-2
lines changed
  • firebase-firestore/src/androidMain/kotlin/dev/teamhub/firebase/firestore

1 file changed

+3
-2
lines changed

firebase-firestore/src/androidMain/kotlin/dev/teamhub/firebase/firestore/firestore.kt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,7 @@ actual open class Query(open val android: com.google.firebase.firestore.Query) {
297297
}
298298
)
299299
}
300+
300301
actual class CollectionReference(override val android: com.google.firebase.firestore.CollectionReference) : Query(android) {
301302

302303
actual val path: String
@@ -328,11 +329,11 @@ actual class DocumentSnapshot(val android: com.google.firebase.firestore.Documen
328329

329330
actual inline fun <reified T: Any> data() = decode<T>(value = android.data)
330331

331-
actual inline fun <T> data(strategy: DeserializationStrategy<T>) = decode(strategy, android.data)
332+
actual fun <T> data(strategy: DeserializationStrategy<T>) = decode(strategy, android.data)
332333

333334
actual inline fun <reified T> get(field: String) = decode<T>(value = android.get(field))
334335

335-
actual inline fun <T> get(field: String, strategy: DeserializationStrategy<T>) =
336+
actual fun <T> get(field: String, strategy: DeserializationStrategy<T>) =
336337
decode(strategy, android.get(field))
337338

338339
actual fun contains(field: String) = android.contains(field)

0 commit comments

Comments
 (0)