From 556196cf6a2044066422cc64c0d64304812747ad Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 16 Sep 2012 23:19:12 +0400 Subject: [PATCH] fix appending new headlines on scroll remove unused stuff from preferences --- res/xml/preferences.xml | 5 ----- src/org/fox/ttrss/FeedsActivity.java | 1 + src/org/fox/ttrss/HeadlinesFragment.java | 2 +- src/org/fox/ttrss/PreferencesActivity.java | 5 ----- src/org/fox/ttrss/types/Feed.java | 3 +++ 5 files changed, 5 insertions(+), 11 deletions(-) diff --git a/res/xml/preferences.xml b/res/xml/preferences.xml index 291a5ce5..d2bae786 100644 --- a/res/xml/preferences.xml +++ b/res/xml/preferences.xml @@ -94,11 +94,6 @@ android:summary="@string/combined_mode_summary" android:title="@string/combined_mode" /> - - , Parcelable { if (feed == this) return true; + if (feed == null) + return false; + return feed.id == this.id && (this.title == null || this.title.equals(feed.title)) && this.is_cat == feed.is_cat; }