Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'android/src/com/mapswithme/maps/maplayer/subway/OnTransitSchemeChangedListener.java')
-rw-r--r--android/src/com/mapswithme/maps/maplayer/subway/OnTransitSchemeChangedListener.java7
1 files changed, 1 insertions, 6 deletions
diff --git a/android/src/com/mapswithme/maps/maplayer/subway/OnTransitSchemeChangedListener.java b/android/src/com/mapswithme/maps/maplayer/subway/OnTransitSchemeChangedListener.java
index a7191d4149..358c3fe21f 100644
--- a/android/src/com/mapswithme/maps/maplayer/subway/OnTransitSchemeChangedListener.java
+++ b/android/src/com/mapswithme/maps/maplayer/subway/OnTransitSchemeChangedListener.java
@@ -2,10 +2,8 @@ package com.mapswithme.maps.maplayer.subway;
import android.support.annotation.MainThread;
import android.support.annotation.NonNull;
-import android.widget.Toast;
import com.mapswithme.maps.MwmApplication;
-import com.mapswithme.maps.R;
import com.mapswithme.maps.content.AbstractContextualListener;
public interface OnTransitSchemeChangedListener
@@ -29,10 +27,7 @@ public interface OnTransitSchemeChangedListener
return;
TransitSchemeState state = TransitSchemeState.makeInstance(index);
- if (state != TransitSchemeState.NO_DATA)
- return;
-
- Toast.makeText(app, R.string.subway_data_unavailable, Toast.LENGTH_SHORT).show();
+ state.onReceived(app);
}
}
}