mirror of
https://github.com/bulwarkmail/native.git
synced 2026-11-01 08:06:13 +00:00
The widgets drew every sender as initials, while the app and the webmail show the contact's photo or the sender's logo first. The widget avatars now follow the same order: an embedded contact photo, then the logo of a non-personal sender domain when sender favicons are on, then the initials. A widget draws from the stored snapshot and cannot load anything while it draws, so the pictures are fetched when the snapshot is built and kept in it as small data URIs. Logos have a cache of their own (a week for a logo, a day for a domain without one) that survives being offline, and pictures over 40 KB or in a format Android cannot decode stay out.