Skip to content

Commit 692114c

Browse files
committed
make lint happy
1 parent 253fbca commit 692114c

File tree

1 file changed

+5
-5
lines changed
  • firebase-firestore/ktx/src/main/kotlin/com/google/firebase/firestore/ktx

1 file changed

+5
-5
lines changed

firebase-firestore/ktx/src/main/kotlin/com/google/firebase/firestore/ktx/Firestore.kt

+5-5
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ import androidx.annotation.Keep
1818
import com.google.firebase.FirebaseApp
1919
import com.google.firebase.components.Component
2020
import com.google.firebase.components.ComponentRegistrar
21+
import com.google.firebase.firestore.DocumentReference
2122
import com.google.firebase.firestore.DocumentSnapshot
2223
import com.google.firebase.firestore.FieldPath
2324
import com.google.firebase.firestore.FirebaseFirestore
2425
import com.google.firebase.firestore.FirebaseFirestoreSettings
26+
import com.google.firebase.firestore.MetadataChanges
27+
import com.google.firebase.firestore.Query
2528
import com.google.firebase.firestore.QueryDocumentSnapshot
2629
import com.google.firebase.firestore.QuerySnapshot
27-
import com.google.firebase.firestore.DocumentReference
28-
import com.google.firebase.firestore.Query
29-
import com.google.firebase.firestore.MetadataChanges
3030
import com.google.firebase.firestore.util.Executors.BACKGROUND_EXECUTOR
3131
import com.google.firebase.ktx.Firebase
3232
import com.google.firebase.platforminfo.LibraryVersionComponent
@@ -181,7 +181,7 @@ class FirebaseFirestoreKtxRegistrar : ComponentRegistrar {
181181
* @param metadataChanges controls metadata-only changes. Default: [MetadataChanges.EXCLUDE]
182182
*/
183183
fun DocumentReference.snapshots(
184-
metadataChanges: MetadataChanges = MetadataChanges.EXCLUDE,
184+
metadataChanges: MetadataChanges = MetadataChanges.EXCLUDE
185185
): Flow<DocumentSnapshot> {
186186
return callbackFlow {
187187
val registration = addSnapshotListener(BACKGROUND_EXECUTOR, metadataChanges) { snapshot, exception ->
@@ -204,7 +204,7 @@ fun DocumentReference.snapshots(
204204
* @param metadataChanges controls metadata-only changes. Default: [MetadataChanges.EXCLUDE]
205205
*/
206206
fun Query.snapshots(
207-
metadataChanges: MetadataChanges = MetadataChanges.EXCLUDE,
207+
metadataChanges: MetadataChanges = MetadataChanges.EXCLUDE
208208
): Flow<QuerySnapshot> {
209209
return callbackFlow {
210210
val registration = addSnapshotListener(BACKGROUND_EXECUTOR, metadataChanges) { snapshot, exception ->

0 commit comments

Comments
 (0)