feature/top10
Aurelien Hubert 7 years ago
parent 107f569c06
commit 968454bc4e
  1. 2
      app/src/main/java/net/pokeranalytics/android/ui/fragment/LocationDataFragment.kt

@ -14,7 +14,6 @@ import net.pokeranalytics.android.ui.view.rowrepresentable.CustomizableRowRepres
import net.pokeranalytics.android.ui.view.rowrepresentable.LocationRow import net.pokeranalytics.android.ui.view.rowrepresentable.LocationRow
import net.pokeranalytics.android.ui.view.rowrepresentable.SimpleRow import net.pokeranalytics.android.ui.view.rowrepresentable.SimpleRow
import net.pokeranalytics.android.util.NULL_TEXT import net.pokeranalytics.android.util.NULL_TEXT
import timber.log.Timber
/** /**
* Custom EditableDataFragment to manage the LOCATE_ME case * Custom EditableDataFragment to manage the LOCATE_ME case
@ -181,7 +180,6 @@ class LocationDataFragment : EditableDataFragment(), StaticRowRepresentableDataS
// Try to get the location of the user // Try to get the location of the user
parentActivity.findCurrentLocation {currentLocation -> parentActivity.findCurrentLocation {currentLocation ->
currentLocation?.let { currentLocation?.let {
Timber.d("Current location: ${it.latitude}, ${it.longitude}")
location.latitude = currentLocation.latitude location.latitude = currentLocation.latitude
location.longitude = currentLocation.longitude location.longitude = currentLocation.longitude
} }

Loading…
Cancel
Save