mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-22 08:16:10 +01:00
🧑💻 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:
parent
e9411f9677
commit
e22d373ba8
3 changed files with 12 additions and 0 deletions
|
|
@ -213,6 +213,10 @@ func loadIcons() {
|
|||
}
|
||||
}
|
||||
|
||||
func ReloadIcon() {
|
||||
loadIcons()
|
||||
}
|
||||
|
||||
func unwatchTheme(folder string) {
|
||||
val, _ := themeWatchers.Load(folder)
|
||||
if nil != val {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue