diff --git a/DanXiUI/Forum/Model/ForumModel.swift b/DanXiUI/Forum/Model/ForumModel.swift index 89db9982..95773e14 100644 --- a/DanXiUI/Forum/Model/ForumModel.swift +++ b/DanXiUI/Forum/Model/ForumModel.swift @@ -38,6 +38,6 @@ class ForumModel: ObservableObject { try await favoriteTask.value try await profileTask.value try await subscriptionTask.value - try await tagTask.value + await tagTask.value } } diff --git a/DanXiUI/Forum/Pages/ForumHomePage.swift b/DanXiUI/Forum/Pages/ForumHomePage.swift index 43a4d29b..f33b0262 100644 --- a/DanXiUI/Forum/Pages/ForumHomePage.swift +++ b/DanXiUI/Forum/Pages/ForumHomePage.swift @@ -39,7 +39,7 @@ struct ForumHomePage: View { try await favoriteTask.value try await profileTask.value try await subscriptionTask.value - try await tagTask.value + await tagTask.value } var body: some View { diff --git a/DanXiUI/Innovation/InnovationWebView.swift b/DanXiUI/Innovation/InnovationWebView.swift index 990c07ad..9473f546 100644 --- a/DanXiUI/Innovation/InnovationWebView.swift +++ b/DanXiUI/Innovation/InnovationWebView.swift @@ -18,7 +18,6 @@ struct InnovationWebView: UIViewRepresentable { private func setupConfiguration() -> WKWebViewConfiguration { let configuration = WKWebViewConfiguration() - configuration.processPool = WKProcessPool() if let token = CredentialStore.shared.token { let accessCookie = HTTPCookie(properties: [ diff --git a/View Utils/UIKit/WebViewWrapper.swift b/View Utils/UIKit/WebViewWrapper.swift index e76dd76d..ebb0b6d7 100644 --- a/View Utils/UIKit/WebViewWrapper.swift +++ b/View Utils/UIKit/WebViewWrapper.swift @@ -24,7 +24,6 @@ struct WebView: UIViewRepresentable { func makeUIView(context: Context) -> WKWebView { let config = WKWebViewConfiguration() - config.processPool = WKProcessPool() let cookies = HTTPCookieStorage.shared.cookies ?? [HTTPCookie]() cookies.forEach { config.websiteDataStore.httpCookieStore.setCookie($0, completionHandler: nil) }