Skip to content

Commit

Permalink
修改协议和代理的提示文案
Browse files Browse the repository at this point in the history
  • Loading branch information
CHKZL committed Jul 22, 2024
1 parent fefe7b3 commit 048c4b6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Desktop/Views/Pages/DefaultPage.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ public static void ProxyDetection(object state)
if (proxyUri?.AbsoluteUri != Config.Core_RunConfig._LiveDomainName)
{
Log.Info(nameof(ProxyDetection), $"系统代理已启用,代理地址:{proxyUri.AbsoluteUri}", false);
SetProxyState("异常:检测到代理生效中");
SetProxyState("检测到系统代理已启用");
SetProxyUrl($"当前代理地址:{proxyUri.AbsoluteUri}");
return;
}
Expand Down Expand Up @@ -169,10 +169,10 @@ public static void IpvDetection(object state)
switch (tempSocket.AddressFamily)
{
case AddressFamily.InterNetwork:
SetIpvState("正常,目前使用的IPv4");
SetIpvState("目前使用的IPv4协议");
break;
case AddressFamily.InterNetworkV6:
SetIpvState("异常,目前使用的IPv6");
SetIpvState("目前使用的IPv6协议");
Log.Info(nameof(IpvDetection), $"当前为IPv6访问状态", false);
break;
}
Expand Down

0 comments on commit 048c4b6

Please sign in to comment.