mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-09 23:03:27 +01:00
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:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user