properly set actionbar as up enabled in feedsactivity when restarting

with saved state
This commit is contained in:
Andrew Dolgov 2012-12-01 17:53:34 +04:00
parent 89ee4a84be
commit d5ebce0b53

View File

@ -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);
}
}
}
}