From 4483055fd003f3be230e060aadc6a57491ea6f73 Mon Sep 17 00:00:00 2001 From: garenwang Date: Mon, 22 Jul 2024 14:36:19 +0800 Subject: [PATCH] fix --- QCloudTrack/Classes/Default/Utils/QCloudTrackNetworkUtils.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/QCloudTrack/Classes/Default/Utils/QCloudTrackNetworkUtils.m b/QCloudTrack/Classes/Default/Utils/QCloudTrackNetworkUtils.m index 30a80f6..d5c95a6 100644 --- a/QCloudTrack/Classes/Default/Utils/QCloudTrackNetworkUtils.m +++ b/QCloudTrack/Classes/Default/Utils/QCloudTrackNetworkUtils.m @@ -49,7 +49,7 @@ - (instancetype)init - (BOOL)isProxyUsed { NSDictionary *proxySettings = (__bridge NSDictionary *)CFNetworkCopySystemProxySettings(); NSArray *proxies = proxySettings[(__bridge NSString *)kCFNetworkProxiesHTTPProxy]; - if (proxies && proxies.count > 0) { + if (proxies) { return YES; } else { return NO;