Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion DanXiUI/Forum/Model/ForumModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
2 changes: 1 addition & 1 deletion DanXiUI/Forum/Pages/ForumHomePage.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
1 change: 0 additions & 1 deletion DanXiUI/Innovation/InnovationWebView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
Expand Down
1 change: 0 additions & 1 deletion View Utils/UIKit/WebViewWrapper.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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) }

Expand Down