mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-24 02:12:15 -05:00
If messagelist started from Unified localsearch, verify if we are really dealing with multiple accounts. If not then set SingleAccountMode anyway.
This commit is contained in:
parent
3d884a8f1c
commit
33cf1bc222
@ -916,6 +916,11 @@ public class MessageListFragment extends SherlockFragment implements OnItemClick
|
||||
for (int i = 0, len = accounts.length; i < len; i++) {
|
||||
mAccountUuids[i] = accounts[i].getUuid();
|
||||
}
|
||||
|
||||
if (mAccountUuids.length == 1) {
|
||||
mSingleAccountMode = true;
|
||||
mAccount = accounts[0];
|
||||
}
|
||||
} else {
|
||||
mAccountUuids = accountUuids;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user