From e6123b16003a8c20f717f6cdd9f4085de56d847d Mon Sep 17 00:00:00 2001 From: Jokul Date: Sat, 8 Aug 2026 20:21:13 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20textColor=20?= =?UTF-8?q?=E5=AD=97=E7=AC=A6=E4=B8=B2=E7=B1=BB=E5=9E=8B=E8=AE=BF=E9=97=AE?= =?UTF-8?q?=20.r/.g/.b=20=E5=AF=BC=E8=87=B4=E5=AD=97=E4=BD=93=E8=89=B2?= =?UTF-8?q?=E8=B7=9F=E9=9A=8F=E5=A4=B1=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package/components/NetworkPopup.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/components/NetworkPopup.qml b/package/components/NetworkPopup.qml index 06efa4a..11210df 100644 --- a/package/components/NetworkPopup.qml +++ b/package/components/NetworkPopup.qml @@ -45,7 +45,7 @@ Control { // secondaryText/tertiaryText/强调色不跟随,保持系统主题层次不崩 readonly property string userTextColor: applet ? (applet.textColor || "") : "" readonly property color primaryText: userTextColor.length > 0 - ? Qt.rgba(userTextColor.r, userTextColor.g, userTextColor.b, 0.95) + ? Qt.rgba(Qt.color(userTextColor).r, Qt.color(userTextColor).g, Qt.color(userTextColor).b, 0.95) : common.primaryText // 次要/三级文字与卡片边框仍从 common 取 DTK 派生值,不跟随用户色