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

Draft
Juan wants to merge 61 commits from android-adaption into main
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),
onPressed: () {
//mark email as read
setState(() {
widget.emails[index].seen = true;
ApiService().markAsSeen(email.id);
});
},
),
IconButton(

View File

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