Remove the main interface Encryption Method

pull/4711/head
2dust 2024-01-29 11:15:11 +08:00
parent 2e30c04238
commit fdddf901f3
4 changed files with 5 additions and 13 deletions

View File

@ -835,7 +835,6 @@ namespace v2rayN.Handler
case EServerColName.remarks:
case EServerColName.address:
case EServerColName.port:
case EServerColName.security:
case EServerColName.network:
case EServerColName.streamSecurity:
propertyName = name.ToString();

View File

@ -7,7 +7,6 @@
remarks,
address,
port,
security,
network,
streamSecurity,
subRemarks,

View File

@ -688,11 +688,6 @@
Binding="{Binding port}"
ExName="port"
Header="{x:Static resx:ResUI.LvPort}" />
<base:MyDGTextColumn
Width="100"
Binding="{Binding security}"
ExName="security"
Header="{x:Static resx:ResUI.LvEncryptionMethod}" />
<base:MyDGTextColumn
Width="100"
Binding="{Binding network}"

View File

@ -478,12 +478,11 @@ namespace v2rayN.Views
}
var lvColumnItem = _config.uiItem.mainColumnItem.OrderBy(t => t.Index).ToList();
for (int i = 0; i < lvColumnItem.Count; i++)
var displayIndex = 0;
foreach(var item in lvColumnItem)
{
var item = lvColumnItem[i];
for (int k = 0; k < lstProfiles.Columns.Count; k++)
{
var item2 = (MyDGTextColumn)lstProfiles.Columns[k];
foreach (MyDGTextColumn item2 in lstProfiles.Columns)
{
if (item2.ExName == item.Name)
{
if (item.Width < 0)
@ -493,7 +492,7 @@ namespace v2rayN.Views
else
{
item2.Width = item.Width;
item2.DisplayIndex = i;
item2.DisplayIndex = displayIndex++;
}
}
}