Skip to content

Commit 03634ae

Browse files
committed
Correct callback name
1 parent 1f0acb6 commit 03634ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/org/nitri/opentopo/MapFragment.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ class MapFragment : Fragment(), LocationListener, PopupMenu.OnMenuItemClickListe
408408
val profile = sharedPreferences.getString(PREF_ORS_PROFILE, "driving-car")
409409
profile?.let {
410410
val directions = Directions(client, it)
411-
directions.getRouteGpx(coordinates, language, object : Directions.RouteGpResult {
411+
directions.getRouteGpx(coordinates, language, object : Directions.RouteGpxResult {
412412
override fun onSuccess(gpx: String) {
413413
Log.d(TAG, "GPX: $gpx")
414414
if (gpxDisplayState == GpxDisplayState.LOADED_FROM_FILE) {

0 commit comments

Comments
 (0)