mirror of
				https://github.com/2dust/v2rayN.git
				synced 2025-10-30 20:12:52 +00:00 
			
		
		
		
	Remove the main interface Encryption Method
This commit is contained in:
		
							parent
							
								
									2e30c04238
								
							
						
					
					
						commit
						fdddf901f3
					
				
					 4 changed files with 5 additions and 13 deletions
				
			
		|  | @ -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(); | ||||
|  |  | |||
|  | @ -7,7 +7,6 @@ | |||
|         remarks, | ||||
|         address, | ||||
|         port, | ||||
|         security, | ||||
|         network, | ||||
|         streamSecurity, | ||||
|         subRemarks, | ||||
|  |  | |||
|  | @ -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}" | ||||
|  |  | |||
|  | @ -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++) | ||||
|                 foreach (MyDGTextColumn item2 in lstProfiles.Columns)  | ||||
|                 {  | ||||
|                     var item2 = (MyDGTextColumn)lstProfiles.Columns[k]; | ||||
|                     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…
	
		Reference in a new issue
	
	 2dust
						2dust