Skip to content

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

:bug: Use the correct recent documents icon on mobile https://github.com/siyuan-note/siyuan/issues/14542

Daniel356e39860e46
diff --git a/app/src/assets/template/mobile/index.tpl b/app/src/assets/template/mobile/index.tpl
index e092bc5e55..8df714d599 100644
--- a/app/src/assets/template/mobile/index.tpl
+++ b/app/src/assets/template/mobile/index.tpl
@@ -95,7 +95,7 @@
<span class="toolbar__tabs-count">0</span>
</button>
<button id="mobileBottomBarRecent" class="mobile-bottom-bar__item fn__none" data-action="recent" type="button">
- <svg><use xlink:href="#iconList"></use></svg>
+ <svg><use xlink:href="#iconRecentDocs"></use></svg>
</button>
<button id="mobileBottomBarOutline" class="mobile-bottom-bar__item fn__none" data-action="outline" type="button">
<svg><use xlink:href="#iconOutline"></use></svg>
diff --git a/app/src/mobile/menu/getRecentDocs.ts b/app/src/mobile/menu/getRecentDocs.ts
index 3241a7d09c..2b50edbf30 100644
--- a/app/src/mobile/menu/getRecentDocs.ts
+++ b/app/src/mobile/menu/getRecentDocs.ts
@@ -33,7 +33,7 @@ export const getRecentDocs = (app: App) => {
let recentDocs = response.data as IRecentDoc[];
openModel({
title: window.siyuan.languages.recentDocs,
- icon: "iconList",
+ icon: "iconRecentDocs",
html: `<div class="fn__flex-column" style="height: 100%">
<div class="toolbar toolbar--border" style="padding: 8px">
<input placeholder="${window.siyuan.languages.searchPlaceholder}" class="b3-text-field fn__flex-1" autocomplete="off" autocorrect="off" spellcheck="false">
diff --git a/app/src/mobile/menu/index.ts b/app/src/mobile/menu/index.ts
index c5ef42aba5..c73b533b2b 100644
--- a/app/src/mobile/menu/index.ts
+++ b/app/src/mobile/menu/index.ts
@@ -281,7 +281,7 @@ export const initRightMenu = (app: App) => {
<svg class="b3-menu__icon"><use xlink:href="#iconInbox"></use></svg><span class="b3-menu__label">${window.siyuan.languages.inbox}</span>
</div>
<div id="menuRecent" class="b3-menu__item">
- <svg class="b3-menu__icon"><use xlink:href="#iconList"></use></svg><span class="b3-menu__label">${window.siyuan.languages.recentDocs}</span>
+ <svg class="b3-menu__icon"><use xlink:href="#iconRecentDocs"></use></svg><span class="b3-menu__label">${window.siyuan.languages.recentDocs}</span>
</div>
<div id="menuSearch" class="b3-menu__item">
<svg class="b3-menu__icon"><use xlink:href="#iconSearch"></use></svg><span class="b3-menu__label">${window.siyuan.languages.search}</span>