mirror of
https://github.com/2dust/v2rayN.git
synced 2026-11-09 14:05:00 +03:00
Replace all Utils.IsNullOrEmpty(variable) with variable.IsNullOrEmpty()
This commit is contained in:
@@ -160,7 +160,7 @@ namespace ServiceLib.Services
|
||||
UseProxy = webProxy != null
|
||||
});
|
||||
|
||||
if (Utils.IsNullOrEmpty(userAgent))
|
||||
if (userAgent.IsNullOrEmpty())
|
||||
{
|
||||
userAgent = Utils.GetVersion(false);
|
||||
}
|
||||
@@ -201,7 +201,7 @@ namespace ServiceLib.Services
|
||||
|
||||
var webProxy = await GetWebProxy(blProxy);
|
||||
|
||||
if (Utils.IsNullOrEmpty(userAgent))
|
||||
if (userAgent.IsNullOrEmpty())
|
||||
{
|
||||
userAgent = Utils.GetVersion(false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user