Browse Source

Remove the main interface Encryption Method

pull/4711/head
2dust 10 months ago
parent
commit
fdddf901f3
  1. 1
      v2rayN/v2rayN/Handler/ConfigHandler.cs
  2. 1
      v2rayN/v2rayN/Mode/EServerColName.cs
  3. 5
      v2rayN/v2rayN/Views/MainWindow.xaml
  4. 11
      v2rayN/v2rayN/Views/MainWindow.xaml.cs

1
v2rayN/v2rayN/Handler/ConfigHandler.cs

@ -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();

1
v2rayN/v2rayN/Mode/EServerColName.cs

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

5
v2rayN/v2rayN/Views/MainWindow.xaml

@ -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}"

11
v2rayN/v2rayN/Views/MainWindow.xaml.cs

@ -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++;
}
}
}

Loading…
Cancel
Save