mirror of https://github.com/moparisthebest/k-9
Fix crash on search with multiple accounts set up
This commit is contained in:
parent
56aad98d85
commit
edf75ec05a
|
@ -1098,7 +1098,7 @@ public class MessageListFragment extends SherlockFragment implements OnItemClick
|
|||
mPullToRefreshView.setEmptyView(loadingView);
|
||||
|
||||
if (isCheckMailSupported()) {
|
||||
if (mSearch.isManualSearch() && mAccount.allowRemoteSearch()) {
|
||||
if (mSearch.isManualSearch() && mSingleAccountMode && mAccount.allowRemoteSearch()) {
|
||||
// "Pull to search server"
|
||||
mPullToRefreshView.setOnRefreshListener(
|
||||
new PullToRefreshBase.OnRefreshListener<ListView>() {
|
||||
|
|
Loading…
Reference in New Issue