Continue adopting MainActor.

This commit is contained in:
Brent Simmons
2023-04-08 15:45:32 -07:00
parent d06632da0b
commit f4e71b41a1
3 changed files with 3 additions and 3 deletions

View File

@@ -15,7 +15,7 @@ enum ArticleExtractorButtonState {
case off
}
class ArticleExtractorButton: UIButton {
@MainActor class ArticleExtractorButton: UIButton {
private var animatedLayer: CALayer?

View File

@@ -9,7 +9,7 @@
import UIKit
import Articles
class ContextMenuPreviewViewController: UIViewController {
@MainActor class ContextMenuPreviewViewController: UIViewController {
@IBOutlet weak var blogNameLabel: UILabel!
@IBOutlet weak var blogAuthorLabel: UILabel!

View File

@@ -8,7 +8,7 @@
import UIKit
class ImageTransition: NSObject, UIViewControllerAnimatedTransitioning {
@MainActor final class ImageTransition: NSObject, UIViewControllerAnimatedTransitioning {
private weak var webViewController: WebViewController?
private let duration = 0.4