🎨 支持列出和切换最近打开的文档 https://github.com/siyuan-note/siyuan/issues/3293

This commit is contained in:
Liang Ding 2022-12-11 09:18:41 +08:00
parent 0152459bb9
commit 8400173cba
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -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)