提交 2f5793e2 编写于 作者: AndroidLeaves's avatar AndroidLeaves

update

上级 131a3dfa
......@@ -451,7 +451,7 @@ class Widget extends BaseWidget {
// ------------------------------------------------
const infoLunarText = ` ${lunarInfo.infoLunarText}`;
let holidayText = lunarInfo.holidayText;
holidayText = holidayText ? ` · ${holidayText}` : ''
holidayText = holidayText ? ` · ${holidayText}` : '';
let text = `${this.getDateStr(new Date(), 'MM月d日 EEE')}${infoLunarText}${holidayText}`;
stack.addSpacer(10);
......@@ -473,7 +473,6 @@ class Widget extends BaseWidget {
textWidget = stack.addText(text);
textWidget.url = 'calshow://';
textWidget.textColor = new Color(this.holidayFontColor());
textWidget.font = Font.regularSystemFont(Number(this.holidayFontSize()));
textWidget.lineLimit = 1;
// ------------------------------------------------
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册