diff --git a/src/com/fsck/k9/fragment/MessageListFragment.java b/src/com/fsck/k9/fragment/MessageListFragment.java index 60c57d20a..1b44c35e1 100644 --- a/src/com/fsck/k9/fragment/MessageListFragment.java +++ b/src/com/fsck/k9/fragment/MessageListFragment.java @@ -1072,7 +1072,7 @@ public class MessageListFragment extends SherlockFragment implements OnItemClick View loadingView = inflater.inflate(R.layout.message_list_loading, null); mPullToRefreshView.setEmptyView(loadingView); - if (isPullToRefreshAllowed()) { + if (isCheckMailSupported()) { if (mSearch.isManualSearch() && mAccount.allowRemoteSearch()) { // "Pull to search server" mPullToRefreshView.setOnRefreshListener( @@ -1104,13 +1104,6 @@ public class MessageListFragment extends SherlockFragment implements OnItemClick setPullToRefreshEnabled(false); } - /** - * Returns whether or not pull-to-refresh is allowed in this message list. - */ - private boolean isPullToRefreshAllowed() { - return mSingleFolderMode; - } - /** * Enable or disable pull-to-refresh. * @@ -3289,7 +3282,7 @@ public class MessageListFragment extends SherlockFragment implements OnItemClick mPullToRefreshView.setEmptyView(null); // Enable pull-to-refresh if allowed - if (isPullToRefreshAllowed()) { + if (isCheckMailSupported()) { setPullToRefreshEnabled(true); }