mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2024-12-22 07:34:09 +01:00
Fix concurrency warning.
This commit is contained in:
parent
0a2b4f7008
commit
07091e0d3e
@ -10,7 +10,8 @@ import UIKit
|
||||
import UIKitExtras
|
||||
|
||||
protocol FeedTableViewSectionHeaderDelegate {
|
||||
func FeedTableViewSectionHeaderDisclosureDidToggle(_ sender: FeedTableViewSectionHeader)
|
||||
|
||||
@MainActor func feedTableViewSectionHeaderDisclosureDidToggle(_ sender: FeedTableViewSectionHeader)
|
||||
}
|
||||
|
||||
class FeedTableViewSectionHeader: UITableViewHeaderFooterView {
|
||||
@ -139,7 +140,7 @@ class FeedTableViewSectionHeader: UITableViewHeaderFooterView {
|
||||
private extension FeedTableViewSectionHeader {
|
||||
|
||||
@objc func toggleDisclosure() {
|
||||
delegate?.FeedTableViewSectionHeaderDisclosureDidToggle(self)
|
||||
delegate?.feedTableViewSectionHeaderDisclosureDidToggle(self)
|
||||
}
|
||||
|
||||
func commonInit() {
|
||||
|
@ -669,7 +669,7 @@ extension SidebarViewController: UIContextMenuInteractionDelegate {
|
||||
|
||||
extension SidebarViewController: FeedTableViewSectionHeaderDelegate {
|
||||
|
||||
func FeedTableViewSectionHeaderDisclosureDidToggle(_ sender: FeedTableViewSectionHeader) {
|
||||
func feedTableViewSectionHeaderDisclosureDidToggle(_ sender: FeedTableViewSectionHeader) {
|
||||
toggle(sender)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user