android/ios-adaption feature, markdown, and augment #6

Merged
Juan merged 64 commits from android-adaption into main 2025-09-01 03:05:21 +00:00
2 changed files with 5 additions and 1 deletions
Showing only changes of commit 0874ffa98e - Show all commits

View File

@ -106,6 +106,10 @@ class _EmailListScreenState extends State<EmailListScreen> {
icon: Icon(Icons.mark_email_read_outlined), icon: Icon(Icons.mark_email_read_outlined),
onPressed: () { onPressed: () {
//mark email as read //mark email as read
setState(() {
widget.emails[index].seen = true;
ApiService().markAsSeen(email.id);
});
}, },
), ),
IconButton( IconButton(

View File

@ -11,7 +11,7 @@ class GetThreadResponse {
final String from_name; final String from_name;
final String from_address; final String from_address;
final List<MailAddress> to; final List<MailAddress> to;
final bool seen; late bool seen;
GetThreadResponse({ GetThreadResponse({
required this.id, required this.id,