add preference to show old articles first by using new api stuff; bump
version
This commit is contained in:
parent
a18fb4d206
commit
9ad3ce0f9a
@ -1,8 +1,8 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
package="org.fox.ttrss"
|
package="org.fox.ttrss"
|
||||||
android:versionCode="153"
|
android:versionCode="154"
|
||||||
android:versionName="1.4.4" >
|
android:versionName="1.4.5" >
|
||||||
|
|
||||||
<uses-sdk
|
<uses-sdk
|
||||||
android:minSdkVersion="8"
|
android:minSdkVersion="8"
|
||||||
|
@ -92,6 +92,13 @@
|
|||||||
android:key="headlines_show_content"
|
android:key="headlines_show_content"
|
||||||
android:summary="@string/pref_headlines_show_content_long"
|
android:summary="@string/pref_headlines_show_content_long"
|
||||||
android:title="@string/pref_headlines_show_content" />
|
android:title="@string/pref_headlines_show_content" />
|
||||||
|
|
||||||
|
<CheckBoxPreference
|
||||||
|
android:defaultValue="false"
|
||||||
|
android:key="oldest_first"
|
||||||
|
android:summary="Requires version 1.7.6"
|
||||||
|
android:title="@string/offline_oldest_first" />
|
||||||
|
|
||||||
</PreferenceCategory>
|
</PreferenceCategory>
|
||||||
<PreferenceCategory android:title="@string/reading" >
|
<PreferenceCategory android:title="@string/reading" >
|
||||||
<ListPreference
|
<ListPreference
|
||||||
|
@ -221,6 +221,7 @@ public class ArticlePager extends Fragment {
|
|||||||
put("view_mode", m_activity.getViewMode());
|
put("view_mode", m_activity.getViewMode());
|
||||||
put("skip", String.valueOf(fskip));
|
put("skip", String.valueOf(fskip));
|
||||||
put("include_nested", "true");
|
put("include_nested", "true");
|
||||||
|
put("order_by", m_prefs.getBoolean("oldest_first", false) ? "date_reverse" : "");
|
||||||
|
|
||||||
if (feed.is_cat) put("is_cat", "true");
|
if (feed.is_cat) put("is_cat", "true");
|
||||||
|
|
||||||
|
@ -417,6 +417,7 @@ public class HeadlinesFragment extends Fragment implements OnItemClickListener,
|
|||||||
put("offset", String.valueOf(0));
|
put("offset", String.valueOf(0));
|
||||||
put("skip", String.valueOf(fskip));
|
put("skip", String.valueOf(fskip));
|
||||||
put("include_nested", "true");
|
put("include_nested", "true");
|
||||||
|
put("order_by", m_prefs.getBoolean("oldest_first", false) ? "date_reverse" : "");
|
||||||
|
|
||||||
if (isCat) put("is_cat", "true");
|
if (isCat) put("is_cat", "true");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user