fix: correct logic for marking email as read in EmailViewer component

This commit is contained in:
Linus Rath
2026-04-02 22:50:04 +02:00
parent 9d8c6044e3
commit bbf724d9e1
2 changed files with 22 additions and 3 deletions
+1 -1
View File
@@ -94,7 +94,7 @@ export function EmailHoverActions({
onToggleStar?.();
break;
case "markRead":
onMarkAsRead?.(!isUnread);
onMarkAsRead?.(isUnread);
break;
case "archive":
onArchive?.();