reload articles when clicking on a same feed again in tablet mode with

default_view_mode set to articles
This commit is contained in:
Andrew Dolgov 2013-02-10 11:33:18 +04:00
parent 7d9e448b2e
commit 7ba2e5b28d

View File

@ -321,6 +321,8 @@ public class FeedsActivity extends OnlineActivity implements HeadlinesEventListe
intent.putExtra("article", new Article()); intent.putExtra("article", new Article());
startActivityForResult(intent, 0); startActivityForResult(intent, 0);
} else { } else {
GlobalState.getInstance().m_loadedArticles.clear();
Intent intent = new Intent(FeedsActivity.this, HeadlinesActivity.class); Intent intent = new Intent(FeedsActivity.this, HeadlinesActivity.class);
intent.putExtra("feed", feed); intent.putExtra("feed", feed);
intent.putExtra("article", (Article)null); intent.putExtra("article", (Article)null);