diff --git a/astrid/plugin-src/com/todoroo/astrid/actfm/TagCommentsFragment.java b/astrid/plugin-src/com/todoroo/astrid/actfm/TagCommentsFragment.java index a3321df44..a6dd77a6c 100644 --- a/astrid/plugin-src/com/todoroo/astrid/actfm/TagCommentsFragment.java +++ b/astrid/plugin-src/com/todoroo/astrid/actfm/TagCommentsFragment.java @@ -100,7 +100,7 @@ public class TagCommentsFragment extends CommentsFragment { @Override protected boolean canLoadMoreHistory() { - return tagData.getValue(TagData.HISTORY_HAS_MORE) > 0; + return hasModel() && tagData.getValue(TagData.HISTORY_HAS_MORE) > 0; } @Override diff --git a/astrid/plugin-src/com/todoroo/astrid/actfm/TaskCommentsFragment.java b/astrid/plugin-src/com/todoroo/astrid/actfm/TaskCommentsFragment.java index ecb812731..1c936b0a2 100644 --- a/astrid/plugin-src/com/todoroo/astrid/actfm/TaskCommentsFragment.java +++ b/astrid/plugin-src/com/todoroo/astrid/actfm/TaskCommentsFragment.java @@ -88,7 +88,7 @@ public class TaskCommentsFragment extends CommentsFragment { @Override protected boolean canLoadMoreHistory() { - return task.getValue(Task.HISTORY_HAS_MORE) > 0; + return hasModel() && task.getValue(Task.HISTORY_HAS_MORE) > 0; } @Override