feat: mark as unread button in email detail screen

Added mark_email_unread_outlined icon to the toolbar. Calls setFlag(seen:false)
then pops back to the list so the email reappears as unread.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Thomas Güttler
2026-04-24 16:46:09 +02:00
co-authored by Claude Sonnet 4.6
parent 14b1ee14ac
commit cdd5e5a6fc
3 changed files with 13 additions and 9 deletions
+5
View File
@@ -6,6 +6,11 @@ Tasks get moved from next.md to done.md
## Tasks
## Mark as unread button in email detail
Added `mark_email_unread_outlined` icon button to `EmailDetailScreen` toolbar.
Calls `setFlag(seen: false)` then pops back to the list.
## Pull-to-refresh on email list
Wrapped `_buildStreamBody` in a `RefreshIndicator` that calls `syncEmails`.