🧑‍💻 Add internal kernel API /api/ui/reloadIcon https://github.com/siyuan-note/siyuan/issues/16008

Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
Daniel 2025-10-03 15:50:43 +08:00
parent e9411f9677
commit e22d373ba8
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
3 changed files with 12 additions and 0 deletions

View file

@ -213,6 +213,10 @@ func loadIcons() {
}
}
func ReloadIcon() {
loadIcons()
}
func unwatchTheme(folder string) {
val, _ := themeWatchers.Load(folder)
if nil != val {