From 62a24b3c7cf92919a93ee575e9460037e1a53816 Mon Sep 17 00:00:00 2001 From: 杨锴 <841720330@qq.com> Date: 星期四, 07 十一月 2024 19:10:20 +0800 Subject: [PATCH] fix bug --- XQMuse/Config/Themes.swift | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/XQMuse/Config/Themes.swift b/XQMuse/Config/Themes.swift index b0011b1..2c4e9eb 100644 --- a/XQMuse/Config/Themes.swift +++ b/XQMuse/Config/Themes.swift @@ -40,6 +40,10 @@ return UIFont(name: "SourceHanSerifCN-Medium", size: fontSize) ?? .systemFont(ofSize: fontSize) } +func Def_PingFang(fontSize:Double)->UIFont{ + return UIFont(name: "PingFang SC", size: fontSize) ?? .systemFont(ofSize: fontSize) +} + // MARK: -- Color let Def_ThemeColor:UIColor = UIColor(hexStr: "#8DA178") -- Gitblit v1.7.1