mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-17 02:33:27 +01:00
Merge remote-tracking branch 'origin/develop' into feature/f1shy-mdc
This commit is contained in:
@@ -79,7 +79,7 @@ final class LaunchViewController: RSTLaunchViewController, UIDocumentPickerDeleg
|
|||||||
} else {
|
} else {
|
||||||
// Show an alert explaining the pairing file
|
// Show an alert explaining the pairing file
|
||||||
// Create new Alert
|
// Create new Alert
|
||||||
let dialogMessage = UIAlertController(title: "Pairing File", message: "Select the pairing file for your device. For more information, go to https://youtu.be/dQw4w9WgXcQ", preferredStyle: .alert)
|
let dialogMessage = UIAlertController(title: "Pairing File", message: "Select the pairing file for your device. For more information, go to https://wiki.sidestore.io/guides/install#pairing-process", preferredStyle: .alert)
|
||||||
|
|
||||||
// Create OK button with action handler
|
// Create OK button with action handler
|
||||||
let ok = UIAlertAction(title: "OK", style: .default, handler: { _ in
|
let ok = UIAlertAction(title: "OK", style: .default, handler: { _ in
|
||||||
|
|||||||
@@ -381,13 +381,12 @@ private extension SourcesViewController
|
|||||||
dispatchGroup.notify(queue: .main) {
|
dispatchGroup.notify(queue: .main) {
|
||||||
if let error = fetchError
|
if let error = fetchError
|
||||||
{
|
{
|
||||||
finish(.failure(error))
|
print(error)
|
||||||
}
|
// 1 error doesn't mean all trusted sources failed to load! Riley, why did you do this???????
|
||||||
else
|
// finish(.failure(error))
|
||||||
{
|
|
||||||
let sources = featuredSourceURLs.compactMap { sourcesByURL[$0] }
|
|
||||||
finish(.success(sources))
|
|
||||||
}
|
}
|
||||||
|
let sources = featuredSourceURLs.compactMap { sourcesByURL[$0] }
|
||||||
|
finish(.success(sources))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user