Small fixes (#1020)

* here

* Update PatreonComponents.swift

Signed-off-by: CelloSerenity <195480169+CelloSerenity@users.noreply.github.com>

* Update ErrorLogViewController.swift

Signed-off-by: CelloSerenity <195480169+CelloSerenity@users.noreply.github.com>

* Update README.md

Signed-off-by: CelloSerenity <195480169+CelloSerenity@users.noreply.github.com>

* Update trustedapps.json

Signed-off-by: CelloSerenity <195480169+CelloSerenity@users.noreply.github.com>

* Revert "Update trustedapps.json"

This reverts commit 10a38895ea.

* Update Build.xcconfig

Signed-off-by: CelloSerenity <195480169+CelloSerenity@users.noreply.github.com>

---------

Signed-off-by: CelloSerenity <195480169+CelloSerenity@users.noreply.github.com>
This commit is contained in:
CelloSerenity
2025-07-18 19:24:55 -06:00
committed by GitHub
parent 685d956775
commit a12b6cd62b
6 changed files with 20 additions and 25 deletions

View File

@@ -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)
}