mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-23 16:25:30 +00:00
Use full email address for identicon
This commit is contained in:
parent
4eae690b59
commit
35e08f769f
1 changed files with 1 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue