1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-12-24 08:38:51 -05:00

Merge branch 'better_singleaccount_check'

This commit is contained in:
cketti 2013-04-26 02:37:19 +02:00
commit 99daa4068f

View File

@ -919,6 +919,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;
}