Remove if statement for WebKit2

If there are zero WK2 processes, this function will return anyways. -webKit2Enabled returning NO does not indicate there are zero WK2 views. It just means no more are allowed.
This commit is contained in:
Michael
2024-06-22 10:26:15 -04:00
parent 2174512d67
commit 8e7ced64d6
@@ -147,10 +147,6 @@ NS_ASSUME_NONNULL_BEGIN
+ (nullable NSString *)webKitFrameworkMemoryUsage
{
if ([TVCLogView webKit2Enabled] == NO) {
return nil;
}
NSArray *webViewProcesses = [TPI_SP_SysInfo webViewProcessIdentifiers];
if (webViewProcesses.count == 0) {