diff options
Diffstat (limited to 'org.fox.ttrss/src/main/java/org/fox/ttrss/offline/OfflineActivity.java')
-rw-r--r-- | org.fox.ttrss/src/main/java/org/fox/ttrss/offline/OfflineActivity.java | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/org.fox.ttrss/src/main/java/org/fox/ttrss/offline/OfflineActivity.java b/org.fox.ttrss/src/main/java/org/fox/ttrss/offline/OfflineActivity.java index 6059bf2f..184937a7 100644 --- a/org.fox.ttrss/src/main/java/org/fox/ttrss/offline/OfflineActivity.java +++ b/org.fox.ttrss/src/main/java/org/fox/ttrss/offline/OfflineActivity.java @@ -823,7 +823,17 @@ public class OfflineActivity extends CommonActivity { editor.putString("offline_view_mode", viewMode); editor.commit(); } - + + /* public String getSortMode() { + return m_prefs.getString("headlines_sort_mode", "default"); + } + + public void setSortMode(String sortMode) { + SharedPreferences.Editor editor = m_prefs.edit(); + editor.putString("headlines_sort_mode", sortMode); + editor.commit(); + } */ + public String getViewMode() { return m_prefs.getString("offline_view_mode", "adaptive"); } |