mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-10-06 05:37:47 +00:00
"Blur media" hid images and videos in a chat but showed the same media sharp as the thumbnail of a quoted message and as the last message's image, video or link preview in the chat list. Small views are now blurred with the same reveal as chat media. They are resampled relative to the width they are drawn at, so a thumbnail is blurred as much on screen as media in a chat, and drawn as the centre crop the thumbnail shows. In-chat media keeps the same blur. Blurring the chat list also needs: each last message gets its own blur state, loaded chat-list videos use it and hide their full-screen play button while blurred, a right-click on a thumbnail no longer leaves it revealed on desktop, and leaving a chat mid-scroll no longer undoes reveals in the list on Android. Co-authored-by: Narasimha-sc <166327228+Narasimha-sc@users.noreply.github.com>