Fix for when a stored contact's name field is empty.

Display # instead of + in the avatar.

Closes #3141
// FREEBIE
This commit is contained in:
Moxie Marlinspike
2015-05-11 01:18:11 -07:00
committed by Jake McGinty
parent 40ca2575da
commit 833fcd10ab
2 changed files with 4 additions and 3 deletions

View File

@@ -62,7 +62,7 @@ public class ContactPhotoFactory {
.height(targetSize)
.endConfig()
.buildRound(String.valueOf(name.charAt(0)),
COLOR_GENERATOR.getColor(name));
COLOR_GENERATOR.getColor(name));
}
synchronized (defaultPhotoLock) {