mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-09 06:43:25 +01:00
Revises “check for updates” error title
This commit is contained in:
@@ -1466,7 +1466,6 @@ private extension MyAppsViewController
|
|||||||
|
|
||||||
let (_, context) = try result.get()
|
let (_, context) = try result.get()
|
||||||
try context.save()
|
try context.save()
|
||||||
|
|
||||||
}
|
}
|
||||||
catch let error as AppManager.FetchSourcesError
|
catch let error as AppManager.FetchSourcesError
|
||||||
{
|
{
|
||||||
@@ -1477,7 +1476,7 @@ private extension MyAppsViewController
|
|||||||
catch let error as NSError
|
catch let error as NSError
|
||||||
{
|
{
|
||||||
DispatchQueue.main.async {
|
DispatchQueue.main.async {
|
||||||
let toastView = ToastView(error: error.withLocalizedTitle(NSLocalizedString("Failed to Check for Updates", comment: "")))
|
let toastView = ToastView(error: error.withLocalizedTitle(NSLocalizedString("Unable to Check for Updates", comment: "")))
|
||||||
toastView.addTarget(nil, action: #selector(TabBarController.presentSources), for: .touchUpInside)
|
toastView.addTarget(nil, action: #selector(TabBarController.presentSources), for: .touchUpInside)
|
||||||
toastView.show(in: self)
|
toastView.show(in: self)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user