From fdf112e97b68057abb7702fe4f1f516c1a59d44f Mon Sep 17 00:00:00 2001 From: CelloSerenity <195480169+CelloSerenity@users.noreply.github.com> Date: Wed, 2 Jul 2025 18:19:36 -0600 Subject: [PATCH] Update ErrorLogViewController.swift Signed-off-by: CelloSerenity <195480169+CelloSerenity@users.noreply.github.com> --- AltStore/Settings/Error Log/ErrorLogViewController.swift | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/AltStore/Settings/Error Log/ErrorLogViewController.swift b/AltStore/Settings/Error Log/ErrorLogViewController.swift index 546299b2..cf5c6851 100644 --- a/AltStore/Settings/Error Log/ErrorLogViewController.swift +++ b/AltStore/Settings/Error Log/ErrorLogViewController.swift @@ -380,13 +380,8 @@ private extension ErrorLogViewController func searchFAQ(for loggedError: LoggedError) { - let baseURL = URL(string: "https://faq.altstore.io/getting-started/error-codes")! - var components = URLComponents(url: baseURL, resolvingAgainstBaseURL: false)! - - let query = [loggedError.domain, "\(loggedError.error.displayCode)"].joined(separator: "+") - components.queryItems = [URLQueryItem(name: "q", value: query)] - - let safariViewController = SFSafariViewController(url: components.url ?? baseURL) + let staticURL = URL(string: "https://docs.sidestore.io/docs/troubleshooting/error-codes")! + let safariViewController = SFSafariViewController(url: staticURL) safariViewController.preferredControlTintColor = .altPrimary self.present(safariViewController, animated: true) }