From 76d7d05a6c20dc73cd687cba20696fa4e02ec6fe Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期三, 05 十一月 2025 10:59:42 +0800
Subject: [PATCH] 0312 淘金未开启相关按钮隐藏

---
 Main/System/Message/HrefAnalysis.cs |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/Main/System/Message/HrefAnalysis.cs b/Main/System/Message/HrefAnalysis.cs
index ecb0bde..ff1c108 100644
--- a/Main/System/Message/HrefAnalysis.cs
+++ b/Main/System/Message/HrefAnalysis.cs
@@ -1,5 +1,4 @@
-锘縰sing vnxbqy.UI;
-using System;
+锘縰sing System;
 using System.Collections;
 using System.Collections.Generic;
 using System.Text;
@@ -31,7 +30,7 @@
             presentHrefInfo = hrefInfo;
             if (RichTextMgr.Inst.presentRichText != null)
             {
-                presentHrefInfo.unlineColor = UIHelper.GetUIColor(TextColType.Green, RichTextMgr.Inst.presentRichText.colorType == RichText.ColorType.Bright);
+                presentHrefInfo.unlineColor = RichTextMgr.Inst.presentRichText.color;
             }
             m_StringBuilder.Append(val.Substring(index, match.Groups[1].Index - index));
             insertIndex = m_StringBuilder.Length - 3;
@@ -262,7 +261,7 @@
                             {
                                 colorType = text.colorType == RichText.ColorType.Dark ? 0 : 1;
                             }
-                            presentHrefInfo.unlineColor = UIHelper.GetUIColor(quality, colorType == 1);
+                            presentHrefInfo.unlineColor = UIHelper.GetUIColorByFunc(quality, colorType == 1);
                         }
                     }
                     break;

--
Gitblit v1.8.0