mirror of
https://github.com/moparisthebest/k-9
synced 2025-01-11 13:49:15 -05:00
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);
|
mPullToRefreshView.setEmptyView(loadingView);
|
||||||
|
|
||||||
if (isCheckMailSupported()) {
|
if (isCheckMailSupported()) {
|
||||||
if (mSearch.isManualSearch() && mAccount.allowRemoteSearch()) {
|
if (mSearch.isManualSearch() && mSingleAccountMode && mAccount.allowRemoteSearch()) {
|
||||||
// "Pull to search server"
|
// "Pull to search server"
|
||||||
mPullToRefreshView.setOnRefreshListener(
|
mPullToRefreshView.setOnRefreshListener(
|
||||||
new PullToRefreshBase.OnRefreshListener<ListView>() {
|
new PullToRefreshBase.OnRefreshListener<ListView>() {
|
||||||
|
Loading…
Reference in New Issue
Block a user