From 14871f784de1d5ae42103eb773abcaebb7381136 Mon Sep 17 00:00:00 2001 From: Linus Rath <139418639+rathlinus@users.noreply.github.com> Date: Wed, 28 Oct 2026 20:08:23 +0100 Subject: [PATCH] fix: move view source from the reader toolbar into the more menu --- components/email/email-viewer.tsx | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/components/email/email-viewer.tsx b/components/email/email-viewer.tsx index a3424e3a3..bb44f8c9c 100644 --- a/components/email/email-viewer.tsx +++ b/components/email/email-viewer.tsx @@ -78,7 +78,6 @@ import { Minus, ShieldCheck, ShieldAlert, - Code, Copy, Brain, Keyboard, @@ -174,7 +173,6 @@ const TOOLBAR_PRIORITY_ACTIONS: Record = { '7': 'spam', '8': 'read', '9': 'print', - '10': 'view_source', '11': 'extra:view_mode', }; const NO_ACTION_KEYS: ReadonlySet = new Set(); @@ -4408,19 +4406,6 @@ export function EmailViewer({ )} - {/* View source - hidden on mobile, overflows to More menu */} - - {/* Dark/light mode toggle for HTML emails. Always mounted: `isHtml` flips from false to true once the body arrives, and mounting the button then changes the toolbar width and re-runs the overflow