Fix concurrency warning.

This commit is contained in:
Brent Simmons 2024-05-03 23:04:13 -07:00
parent 7f545c5a23
commit 83298770c2
2 changed files with 3 additions and 1 deletions

View File

@ -11,7 +11,8 @@ import Account
import Core
protocol AddFeedFolderViewControllerDelegate {
func didSelect(container: Container)
@MainActor func didSelect(container: Container)
}
class AddFeedFolderViewController: UITableViewController {

View File

@ -166,6 +166,7 @@ class AddFeedViewController: UITableViewController {
// MARK: AddFeedFolderViewControllerDelegate
extension AddFeedViewController: AddFeedFolderViewControllerDelegate {
func didSelect(container: Container) {
self.container = container
updateFolderLabel()