diff options
author | Bananeweizen <bananeweizen@gmx.de> | 2015-01-10 09:09:42 +0100 |
---|---|---|
committer | Bananeweizen <bananeweizen@gmx.de> | 2015-01-10 09:09:42 +0100 |
commit | aa83dcd6ac060c967c83615fce3f64c65c388c98 (patch) | |
tree | 8081846124a37c89529a4b43eb36bf7509f0e7c1 /mapswithme-api/src | |
parent | 1c43f74aace3096d32d474aacfb590a8f14fedf9 (diff) | |
download | cgeo-aa83dcd6ac060c967c83615fce3f64c65c388c98.zip cgeo-aa83dcd6ac060c967c83615fce3f64c65c388c98.tar.gz cgeo-aa83dcd6ac060c967c83615fce3f64c65c388c98.tar.bz2 |
update MapsWithMe integration
As they removed the light version, some wording changed.
Diffstat (limited to 'mapswithme-api/src')
-rw-r--r-- | mapswithme-api/src/com/mapswithme/maps/api/DownloadMapsWithMeDialog.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mapswithme-api/src/com/mapswithme/maps/api/DownloadMapsWithMeDialog.java b/mapswithme-api/src/com/mapswithme/maps/api/DownloadMapsWithMeDialog.java index 5670a5f..480bbe1 100644 --- a/mapswithme-api/src/com/mapswithme/maps/api/DownloadMapsWithMeDialog.java +++ b/mapswithme-api/src/com/mapswithme/maps/api/DownloadMapsWithMeDialog.java @@ -41,7 +41,6 @@ public class DownloadMapsWithMeDialog extends Dialog implements android.view.Vie requestWindowFeature(Window.FEATURE_NO_TITLE); setContentView(R.layout.dlg_install_mwm); - findViewById(R.id.btn_lite).setOnClickListener(this); findViewById(R.id.btn_pro).setOnClickListener(this); setOwnerActivity(activity); @@ -59,7 +58,7 @@ public class DownloadMapsWithMeDialog extends Dialog implements android.view.Vie @Override public void onClick(View v) { - String url = getContext().getString(v.getId() == R.id.btn_lite ? R.string.url_lite : R.string.url_pro); + String url = getContext().getString(R.string.url_pro); onDownloadButtonClicked(url); } } |