Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:lipstick: Simplify mobile main menu back button https://github.com/siyuan-note/siyuan/issues/19239

Daniel82ffc916876d
diff --git a/app/src/mobile/menu/index.ts b/app/src/mobile/menu/index.ts
index 417a712730..8293033fd1 100644
--- a/app/src/mobile/menu/index.ts
+++ b/app/src/mobile/menu/index.ts
@@ -250,8 +250,7 @@ const renderMobilePluginDockMenu = (app: App, menuElement: HTMLElement) => {
export const initRightMenu = (app: App) => {
const menuElement = document.getElementById("menu");
menuElement.innerHTML = `<div class="b3-menu__title">
- <svg class="b3-menu__icon"><use xlink:href="#iconLeft"></use></svg>
- <span class="b3-menu__label">${window.siyuan.languages.back}</span>
+ <svg class="b3-menu__icon" role="img" aria-label="${escapeAttr(window.siyuan.languages.returnLabel)}"><use xlink:href="#iconLeft"></use></svg>
</div>
<div class="mobile-main-menu__search" data-prevent-swipe>
<input placeholder="${window.siyuan.languages.searchPlaceholder}" class="b3-text-field fn__block" autocomplete="off" autocorrect="off" spellcheck="false">