From c20165b63f4996c7104883f27554332c0e328835 Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Thu, 27 Nov 2014 22:02:06 +0100 Subject: [PATCH] Remove link --- .../osmand/plus/activities/DashboardActivity.java | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/activities/DashboardActivity.java b/OsmAnd/src/net/osmand/plus/activities/DashboardActivity.java index ee19eb95ae..a0e5c59a57 100644 --- a/OsmAnd/src/net/osmand/plus/activities/DashboardActivity.java +++ b/OsmAnd/src/net/osmand/plus/activities/DashboardActivity.java @@ -92,18 +92,6 @@ public class DashboardActivity extends BaseDownloadActivity { final String textVersion = Version.getFullVersion(getMyApplication()); getSupportActionBar().setTitle(textVersion); - final int abTitleId = getResources().getIdentifier("action_bar_title", "id", "android"); - final SharedPreferences prefs = getApplicationContext().getSharedPreferences("net.osmand.settings", MODE_WORLD_READABLE); - findViewById(abTitleId).setOnClickListener(new View.OnClickListener() { - int i=0; - @Override - public void onClick(View view) { - if(i++ > 8) { - prefs.edit().putBoolean(CONTRIBUTION_VERSION_FLAG, true).commit(); - enableLink(DashboardActivity.this, textVersion, (TextView)view); - } - } - }); ColorDrawable color = new ColorDrawable(getResources().getColor(R.color.actionbar_color)); getSupportActionBar().setBackgroundDrawable(color); getSupportActionBar().setIcon(android.R.color.transparent);