mirror of
https://github.com/2dust/v2rayN.git
synced 2026-09-30 10:32:07 +03:00
AI-optimized code
This commit is contained in:
@@ -72,8 +72,7 @@ namespace ServiceLib.ViewModels
|
||||
return;
|
||||
}
|
||||
}
|
||||
if (SelectedSource.ConfigType != EConfigType.SOCKS
|
||||
&& SelectedSource.ConfigType != EConfigType.HTTP)
|
||||
if (SelectedSource.ConfigType is not EConfigType.SOCKS and not EConfigType.HTTP)
|
||||
{
|
||||
if (SelectedSource.Id.IsNullOrEmpty())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user