add debug and ios

This commit is contained in:
hiddify-com
2024-05-31 16:38:11 +02:00
parent da36c0c4c0
commit a9b317ed61
2 changed files with 8 additions and 2 deletions

View File

@@ -166,7 +166,13 @@ public class ExtensionPlatformInterface: NSObject, LibboxPlatformInterfaceProtoc
public func underNetworkExtension() -> Bool {
true
}
public func includeAllNetworks() -> Bool {
#if !os(tvOS)
return SharedPreferences.includeAllNetworks.getBlocking()
#else
return false
#endif
}
public func clearDNSCache() {
guard let networkSettings else {
return