mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
⚡ Improve system font loading https://github.com/siyuan-note/siyuan/issues/13356
This commit is contained in:
parent
c7746d1399
commit
af434451e0
3 changed files with 21 additions and 2 deletions
|
|
@ -548,7 +548,7 @@ func setFollowSystemLockScreen(c *gin.Context) {
|
|||
func getSysFonts(c *gin.Context) {
|
||||
ret := gulu.Ret.NewResult()
|
||||
defer c.JSON(http.StatusOK, ret)
|
||||
ret.Data = util.GetSysFonts()
|
||||
ret.Data = util.LoadSysFonts()
|
||||
}
|
||||
|
||||
func version(c *gin.Context) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue