1
0
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:
dzan 2013-04-14 14:47:45 +02:00
parent 3d884a8f1c
commit 33cf1bc222

View File

@ -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;
}