Refractoring Stage 6.6 Migrated productivity.js and shortcuts.js mail-state access and render/preferences hooks to the mail feature API.

This commit is contained in:
2026-10-16 21:03:40 +03:00
parent 84a63441ef
commit 38340442f0
21 changed files with 389 additions and 293 deletions
+4
View File
@@ -15,6 +15,8 @@
select,
selectAll,
toast,
escapeHtml,
getApplyTheme,
setRenderList,
setOpenMessage,
setShowCompose
@@ -35,6 +37,8 @@
select,
selectAll,
toast,
escapeHtml,
get applyTheme() { return getApplyTheme(); },
wrapRenderList(decorator) { setRenderList(decorator(getRenderList())); },
wrapOpenMessage(decorator) { setOpenMessage(decorator(getOpenMessage())); },
wrapShowCompose(decorator) { setShowCompose(decorator(getShowCompose())); }