diff --git a/app/src/main/java/gr/thmmy/mthmmy/activities/main/recent/RecentFragment.java b/app/src/main/java/gr/thmmy/mthmmy/activities/main/recent/RecentFragment.java index 8b5d14b1..307f1b33 100644 --- a/app/src/main/java/gr/thmmy/mthmmy/activities/main/recent/RecentFragment.java +++ b/app/src/main/java/gr/thmmy/mthmmy/activities/main/recent/RecentFragment.java @@ -183,7 +183,7 @@ public class RecentFragment extends BaseFragment { private void parse(Document document) { Elements recent = document.select("#block8 :first-child div"); - if (recent.size() == 30) { + if (!recent.isEmpty()) { topicSummaries.clear(); for (int i = 0; i < recent.size(); i += 3) { @@ -210,7 +210,6 @@ public class RecentFragment extends BaseFragment { return; } - topicSummaries.add(new TopicSummary(link, title, lastUser, dateTime)); }