imperiumlabs / GeoFirestore-Android

GeoFirestore for Android - Realtime location queries with Firestore

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is this line is wrong?

1ee-bruce opened this issue · comments

commented

https://github.com/imperiumlabs/GeoFirestore-Android/blob/master/geofirestore/src/main/java/org/imperiumlabs/geofirestore/GeoFirestore.kt#L192

not if (geoPoint != null) ?

getLocationValue(snap).also { geoPoint ->
                        if (geoPoint == null)
                            callback.onComplete(location = geoPoint, exception = null)