Convert RSCore to approachable concurrency.

This commit is contained in:
Brent Simmons committed 2025-11-13 17:11:34 -08:00
1 parent 5db095568b
commit 1f51119aa3
121 files changed
+741 -709

No files matched your search

@@ -66,7 +66,8 @@ private extension UIViewController {
let title = NSLocalizedString("Account Error", comment: "Account Error")
let alertController = UIAlertController(title: title, message: error.localizedDescription, preferredStyle: .alert)
if error.account?.type == .feedbin {
let account = AccountError.account(from: error)
if account?.type == .feedbin {
let credentialsTitle = NSLocalizedString("Update Credentials", comment: "Update Credentials")
let credentialsAction = UIAlertAction(title: credentialsTitle, style: .default) { [weak self] _ in
@@ -75,7 +76,7 @@ private extension UIViewController {
let navController = UIStoryboard.account.instantiateViewController(withIdentifier: "FeedbinAccountNavigationViewController") as! UINavigationController
navController.modalPresentationStyle = .formSheet
let addViewController = navController.topViewController as! FeedbinAccountViewController
addViewController.account = error.account
addViewController.account = account
self?.present(navController, animated: true)
}