TF-3385 Fix mark as read not work properly

This commit is contained in:
DatDang
2025-01-03 15:12:53 +07:00
committed by Dat H. Pham
parent 6396b50bc9
commit 3541ac085e
6 changed files with 50 additions and 29 deletions
@@ -673,7 +673,7 @@ class SingleEmailController extends BaseController with AppLoaderMixin {
if (_currentEmailId != null) {
mailboxDashBoardController.updateEmailFlagByEmailIds(
[_currentEmailId!],
readAction: ReadActions.markAsRead,
readAction: readActions,
);
}
if (readActions == ReadActions.markAsUnread) {