1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-08-13 17:03:48 -04:00

When instantiating an account, set the default color to something

random, rather than blank, so that new accounts don't endup without
colors.
This commit is contained in:
Jesse Vincent 2010-05-15 20:35:47 +00:00
parent f799be05c9
commit 384803076d

View File

@ -133,7 +133,7 @@ public class Account implements BaseAccount
mExpungePolicy = EXPUNGE_IMMEDIATELY;
mAutoExpandFolderName = "INBOX";
mMaxPushFolders = 10;
mChipColor = 0;
mChipColor = (new Random()).nextInt(0xffffff) + 0xff000000;
goToUnreadMessageSearch = false;
searchableFolders = Searchable.ALL;