1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-27 19:52:17 -05: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; mExpungePolicy = EXPUNGE_IMMEDIATELY;
mAutoExpandFolderName = "INBOX"; mAutoExpandFolderName = "INBOX";
mMaxPushFolders = 10; mMaxPushFolders = 10;
mChipColor = 0; mChipColor = (new Random()).nextInt(0xffffff) + 0xff000000;
goToUnreadMessageSearch = false; goToUnreadMessageSearch = false;
searchableFolders = Searchable.ALL; searchableFolders = Searchable.ALL;