open fresh feed by default when starting up
This commit is contained in:
parent
a5ed5074ba
commit
60dc13ac96
@ -138,6 +138,11 @@ public class FeedsActivity extends OnlineActivity implements HeadlinesEventListe
|
||||
ft.replace(R.id.feeds_fragment, new FeedsFragment(), FRAG_FEEDS);
|
||||
}
|
||||
|
||||
HeadlinesFragment hf = new HeadlinesFragment();
|
||||
hf.initialize(new Feed(-3, getString(R.string.fresh_articles), false));
|
||||
|
||||
ft.replace(R.id.headlines_fragment, hf, FRAG_HEADLINES);
|
||||
|
||||
ft.commit();
|
||||
|
||||
AppRater.appLaunched(this);
|
||||
|
@ -248,5 +248,6 @@
|
||||
<string name="headlines_sort_oldest_first">Oldest first</string>
|
||||
<string name="headlines_sort_title">Title</string>
|
||||
<string name="headlines_sort_articles_title">Sort articles</string>
|
||||
<string name="fresh_articles">Fresh articles</string>
|
||||
|
||||
</resources>
|
||||
|
Loading…
Reference in New Issue
Block a user