From d5ebce0b5363bcae667af4d71e32119c2136d4fb Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 1 Dec 2012 17:53:34 +0400 Subject: [PATCH] properly set actionbar as up enabled in feedsactivity when restarting with saved state --- src/org/fox/ttrss/FeedsActivity.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/org/fox/ttrss/FeedsActivity.java b/src/org/fox/ttrss/FeedsActivity.java index 188bf1f9..f499bd98 100644 --- a/src/org/fox/ttrss/FeedsActivity.java +++ b/src/org/fox/ttrss/FeedsActivity.java @@ -104,6 +104,13 @@ public class FeedsActivity extends OnlineActivity implements HeadlinesEventListe ft.commit(); AppRater.appLaunched(this); + + if (GlobalState.getInstance().m_activeArticle != null || GlobalState.getInstance().m_activeFeed != null) { + if (!isCompatMode()) { + getActionBar().setDisplayHomeAsUpEnabled(true); + } + } + } }