mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-22 01:40:07 +01:00
Do not set color before profile name is known.
This commit is contained in:
committed by
Greyson Parrelli
parent
74e94f3a97
commit
a05f74d302
@@ -999,7 +999,7 @@ public class RecipientDatabase extends Database {
|
||||
values.put(STORAGE_SERVICE_ID, Base64.encodeBytes(contact.getId().getRaw()));
|
||||
values.put(DIRTY, DirtyState.CLEAN.getId());
|
||||
|
||||
if (contact.isProfileSharingEnabled() && isInsert) {
|
||||
if (contact.isProfileSharingEnabled() && isInsert && !profileName.isEmpty()) {
|
||||
values.put(COLOR, ContactColors.generateFor(profileName.toString()).serialize());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user