From 993a45f4ba9620c8f2c03da927ec99b231d42202 Mon Sep 17 00:00:00 2001 From: Alexey Martemyanov Date: Mon, 25 Nov 2024 16:50:44 +0600 Subject: [PATCH] minor cleanup --- .../ContentScopeScript/SpecialPagesUserScript.swift | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Sources/BrowserServicesKit/ContentScopeScript/SpecialPagesUserScript.swift b/Sources/BrowserServicesKit/ContentScopeScript/SpecialPagesUserScript.swift index 215dbcc6f..f29a6e520 100644 --- a/Sources/BrowserServicesKit/ContentScopeScript/SpecialPagesUserScript.swift +++ b/Sources/BrowserServicesKit/ContentScopeScript/SpecialPagesUserScript.swift @@ -43,8 +43,7 @@ public final class SpecialPagesUserScript: NSObject, UserScript, UserScriptMessa @available(macOS 11.0, iOS 14.0, *) extension SpecialPagesUserScript: WKScriptMessageHandlerWithReply { @MainActor - public func userContentController(_ userContentController: WKUserContentController, - didReceive message: WKScriptMessage) async -> (Any?, String?) { + public func userContentController(_ userContentController: WKUserContentController, didReceive message: WKScriptMessage) async -> (Any?, String?) { let action = broker.messageHandlerFor(message) do { let json = try await broker.execute(action: action, original: message)