diff --git a/src/components/EmailListPanel.tsx b/src/components/EmailListPanel.tsx index a3c5134..2fc03fb 100644 --- a/src/components/EmailListPanel.tsx +++ b/src/components/EmailListPanel.tsx @@ -1267,6 +1267,8 @@ export default function EmailListPanel({ thread.allEmails.some((email) => isEmailUnread(email, clientReadIds, clientUnreadIds) ) && !isRouteSelected; + const swipeOffset = swipeOffsets[thread.threadId] ?? 0; + const isSwipeActionVisible = swipeOffset !== 0; const showPinnedDivider = !isInSearchMode && view === "inbox" && pinnedThreadCount > 0 && idx === 0; @@ -1302,7 +1304,11 @@ export default function EmailListPanel({ className="relative overflow-hidden border-b border-stone-100 dark:border-stone-800" >