aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBananeweizen <bananeweizen@gmx.de>2014-05-24 20:02:58 +0200
committerBananeweizen <bananeweizen@gmx.de>2014-05-24 20:02:58 +0200
commitfa53f9ae309cf9c6235754a70fe8c3408f710ac4 (patch)
treef6be3d2e318a5eecc27d30064b54b78a6d37694b
parenta5e7f74edd2f24c765a8ea87540782e26dd26bf4 (diff)
downloadcgeo-fa53f9ae309cf9c6235754a70fe8c3408f710ac4.zip
cgeo-fa53f9ae309cf9c6235754a70fe8c3408f710ac4.tar.gz
cgeo-fa53f9ae309cf9c6235754a70fe8c3408f710ac4.tar.bz2
Revert "Fix issue #3865"
This reverts commit 7bb1c9d2bb0f12c66866303143e33b539fce18f3.
-rw-r--r--main/src/cgeo/geocaching/TrackableActivity.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/main/src/cgeo/geocaching/TrackableActivity.java b/main/src/cgeo/geocaching/TrackableActivity.java
index 29ffe45..cd39cfa 100644
--- a/main/src/cgeo/geocaching/TrackableActivity.java
+++ b/main/src/cgeo/geocaching/TrackableActivity.java
@@ -97,9 +97,9 @@ public class TrackableActivity extends AbstractViewPagerActivity<TrackableActivi
geocode = trackable.getGeocode();
if (StringUtils.isNotBlank(trackable.getName())) {
- getSupportActionBar().setTitle(Html.fromHtml(trackable.getName()).toString());
+ setTitle(Html.fromHtml(trackable.getName()).toString());
} else {
- getSupportActionBar().setTitle(trackable.getName());
+ setTitle(trackable.getName());
}
invalidateOptionsMenuCompatible();
@@ -132,7 +132,7 @@ public class TrackableActivity extends AbstractViewPagerActivity<TrackableActivi
super.onCreate(savedInstanceState, R.layout.viewpager_activity);
// set title in code, as the activity needs a hard coded title due to the intent filters
- getSupportActionBar().setTitle(res.getString(R.string.trackable));
+ setTitle(res.getString(R.string.trackable));
// get parameters
final Bundle extras = getIntent().getExtras();