Revises “check for updates” error title

This commit is contained in:
Riley Testut
2022-11-23 19:20:33 -06:00
committed by Magesh K
parent 881091595c
commit b60536dded

View File

@@ -1466,7 +1466,6 @@ private extension MyAppsViewController
let (_, context) = try result.get()
try context.save()
}
catch let error as AppManager.FetchSourcesError
{
@@ -1477,7 +1476,7 @@ private extension MyAppsViewController
catch let error as NSError
{
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.show(in: self)
}