mirror of
https://github.com/moparisthebest/k-9
synced 2025-02-17 07:30:16 -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++) {
|
for (int i = 0, len = accounts.length; i < len; i++) {
|
||||||
mAccountUuids[i] = accounts[i].getUuid();
|
mAccountUuids[i] = accounts[i].getUuid();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (mAccountUuids.length == 1) {
|
||||||
|
mSingleAccountMode = true;
|
||||||
|
mAccount = accounts[0];
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
mAccountUuids = accountUuids;
|
mAccountUuids = accountUuids;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user