mirror of
https://github.com/2dust/v2rayN.git
synced 2025-09-01 15:56:19 +00:00
fix: 修复选中服务器->测速 后,当前服务器会丢失选中的情况
This commit is contained in:
parent
eeab8e4a90
commit
278b6251af
1 changed files with 3 additions and 2 deletions
|
@ -558,8 +558,8 @@ namespace v2rayN.ViewModels
|
|||
{
|
||||
return;
|
||||
}
|
||||
SpeedProxyDisplay = string.Format("{0}:{1}/s¡ü | {2}/s¡ý", Global.agentTag, Utils.HumanFy(update.proxyUp), Utils.HumanFy(update.proxyDown));
|
||||
SpeedDirectDisplay = string.Format("{0}:{1}/s¡ü | {2}/s¡ý", Global.directTag, Utils.HumanFy(update.directUp), Utils.HumanFy(update.directDown));
|
||||
SpeedProxyDisplay = string.Format("{0}:{1}/s? | {2}/s?", Global.agentTag, Utils.HumanFy(update.proxyUp), Utils.HumanFy(update.proxyDown));
|
||||
SpeedDirectDisplay = string.Format("{0}:{1}/s? | {2}/s?", Global.directTag, Utils.HumanFy(update.directUp), Utils.HumanFy(update.directDown));
|
||||
|
||||
if (update.proxyUp + update.proxyDown > 0)
|
||||
{
|
||||
|
@ -623,6 +623,7 @@ namespace v2rayN.ViewModels
|
|||
item.speedVal = $"{speed} {Global.SpeedUnit}";
|
||||
}
|
||||
_profileItems.Replace(item, Utils.DeepCopy(item));
|
||||
SelectedProfile = item;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue