diff --git a/lib/email.dart b/lib/email.dart index 926e753..05a1378 100644 --- a/lib/email.dart +++ b/lib/email.dart @@ -199,6 +199,7 @@ class _EmailListScreenState extends State _thisInstance.draftID = email; _thisInstance.showPersistentWidget(context); } else { + // print(email) Navigator.push( context, MaterialPageRoute( @@ -296,7 +297,7 @@ class EmailPageState extends State { void _fetchEmails() async { try { List fetchedEmails = await apiService - .fetchEmailsFromFolder(widget.selectedFolder, widget.offset); + .fetchEmailsFromFolderReversed(widget.selectedFolder, widget.offset); if (!mounted) return; setState(() {