Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
garenwang committed Jul 22, 2024
1 parent c6167c0 commit 4483055
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 4483055

Please sign in to comment.