mirror of
https://github.com/oxen-io/session-android.git
synced 2025-10-24 08:49:31 +00:00
Switch to enum and theme type for MaterialColor.
// FREEBIE
This commit is contained in:
@@ -196,7 +196,7 @@ public class MessageNotifier {
|
||||
Recipients recipients = notifications.get(0).getRecipients();
|
||||
int largeIconTargetSize = context.getResources().getDimensionPixelSize(R.dimen.contact_photo_target_size);
|
||||
Drawable recipientPhoto = recipient.getContactPhoto().asDrawable(context, recipients == null ? ContactColors.UNKNOWN_COLOR.toConversationColor(context) :
|
||||
recipients.getColor(context).toConversationColor(context));
|
||||
recipients.getColor().toConversationColor(context));
|
||||
|
||||
if (recipientPhoto != null) {
|
||||
Bitmap recipientPhotoBitmap = BitmapUtil.createFromDrawable(recipientPhoto, largeIconTargetSize, largeIconTargetSize);
|
||||
|
||||
Reference in New Issue
Block a user