mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-02 07:06:18 +02:00
Use full email address for identicon
This commit is contained in:
@@ -293,9 +293,7 @@ public class AdapterMessage extends PagedListAdapter<TupleMessageEx, AdapterMess
|
||||
}
|
||||
if (!photo && identicons) {
|
||||
if (message.from.length > 0)
|
||||
ivAvatar.setImageBitmap(
|
||||
Identicon.generate(((InternetAddress) message.from[0]).getAddress(),
|
||||
dp24, 5, "light".equals(theme)));
|
||||
ivAvatar.setImageBitmap(Identicon.generate(message.from[0].toString(), dp24, 5, "light".equals(theme)));
|
||||
else
|
||||
ivAvatar.setImageDrawable(null);
|
||||
photo = true;
|
||||
|
||||
Reference in New Issue
Block a user