From 03945cea2ed93d9880fbaf503f3b7c02bad7d4e3 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 3 Feb 2012 14:30:06 +0300 Subject: [PATCH] tweak actionbar title display --- src/org/fox/ttrss/MainActivity.java | 1 - src/org/fox/ttrss/OfflineActivity.java | 1 - 2 files changed, 2 deletions(-) diff --git a/src/org/fox/ttrss/MainActivity.java b/src/org/fox/ttrss/MainActivity.java index 06d86b2a..6dabfbec 100644 --- a/src/org/fox/ttrss/MainActivity.java +++ b/src/org/fox/ttrss/MainActivity.java @@ -1334,7 +1334,6 @@ public class MainActivity extends FragmentActivity implements OnlineServices { getActionBar().setDisplayHomeAsUpEnabled(m_selectedArticle != null || m_activeCategory != null); } else { getActionBar().setDisplayHomeAsUpEnabled(m_selectedArticle != null || m_activeFeed != null || m_activeCategory != null); - getActionBar().setDisplayShowTitleEnabled(m_selectedArticle == null); } if (android.os.Build.VERSION.SDK_INT >= 14) { diff --git a/src/org/fox/ttrss/OfflineActivity.java b/src/org/fox/ttrss/OfflineActivity.java index 20faff2d..400ce9e4 100644 --- a/src/org/fox/ttrss/OfflineActivity.java +++ b/src/org/fox/ttrss/OfflineActivity.java @@ -813,7 +813,6 @@ public class OfflineActivity extends FragmentActivity implements getActionBar().setDisplayHomeAsUpEnabled(m_selectedArticleId != 0); } else { getActionBar().setDisplayHomeAsUpEnabled(m_selectedArticleId != 0 || m_activeFeedId != 0); - getActionBar().setDisplayShowTitleEnabled(m_selectedArticleId == 0); } } }