From 167e856b15f0e083ec790e6d23cf2e1d9b69a319 Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Sun, 25 Apr 2010 09:07:34 +0000 Subject: [PATCH] default accounts to random colors rather than black --- src/com/fsck/k9/Account.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/fsck/k9/Account.java b/src/com/fsck/k9/Account.java index e4d53cf63..a31a738ed 100644 --- a/src/com/fsck/k9/Account.java +++ b/src/com/fsck/k9/Account.java @@ -183,7 +183,7 @@ public class Account implements BaseAccount mMaxPushFolders = preferences.getPreferences().getInt(mUuid + ".maxPushFolders", 10); - mChipColor = preferences.getPreferences().getInt(mUuid+".chipColor", 0xff000000); + mChipColor = preferences.getPreferences().getInt(mUuid+".chipColor", (new Random()).nextInt()); for (String type : networkTypes) {