🎨 Custom Emoji folders no longer require manual refresh when they change https://github.com/siyuan-note/siyuan/issues/11749

This commit is contained in:
Daniel 2024-06-18 19:25:22 +08:00
parent cf584ea551
commit aa7a745eb2
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
5 changed files with 209 additions and 0 deletions

View file

@ -634,6 +634,8 @@ func checkoutRepo(id string) {
WaitForWritingFiles()
CloseWatchAssets()
defer WatchAssets()
CloseWatchEmojis()
defer WatchEmojis()
// 恢复快照时自动暂停同步,避免刚刚恢复后的数据又被同步覆盖
syncEnabled := Conf.Sync.Enabled