From 8400173cbaaea176d20052ed6395aae73c7fd04b Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Sun, 11 Dec 2022 09:18:41 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20=E6=94=AF=E6=8C=81=E5=88=97=E5=87=BA?= =?UTF-8?q?=E5=92=8C=E5=88=87=E6=8D=A2=E6=9C=80=E8=BF=91=E6=89=93=E5=BC=80?= =?UTF-8?q?=E7=9A=84=E6=96=87=E6=A1=A3=20https://github.com/siyuan-note/si?= =?UTF-8?q?yuan/issues/3293?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kernel/model/storage.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/model/storage.go b/kernel/model/storage.go index 5027246b7..4d3520f13 100644 --- a/kernel/model/storage.go +++ b/kernel/model/storage.go @@ -95,7 +95,7 @@ func SetRecentDoc(doc *RecentDoc) (err error) { recentDocs = append([]*RecentDoc{doc}, recentDocs...) } if 32 < len(recentDocs) { - recentDocs = recentDocs[:64] + recentDocs = recentDocs[:32] } err = setRecentDocs(recentDocs)