make the default the reversed

This commit is contained in:
Juan Marulanda De Los Rios 2025-08-25 13:57:24 -04:00
parent 2ce8af1608
commit dea8f03fe1

View File

@ -199,6 +199,7 @@ class _EmailListScreenState extends State<EmailListScreen>
_thisInstance.draftID = email; _thisInstance.draftID = email;
_thisInstance.showPersistentWidget(context); _thisInstance.showPersistentWidget(context);
} else { } else {
// print(email)
Navigator.push( Navigator.push(
context, context,
MaterialPageRoute( MaterialPageRoute(
@ -296,7 +297,7 @@ class EmailPageState extends State<EmailPage> {
void _fetchEmails() async { void _fetchEmails() async {
try { try {
List<GetThreadResponse> fetchedEmails = await apiService List<GetThreadResponse> fetchedEmails = await apiService
.fetchEmailsFromFolder(widget.selectedFolder, widget.offset); .fetchEmailsFromFolderReversed(widget.selectedFolder, widget.offset);
if (!mounted) return; if (!mounted) return;
setState(() { setState(() {