diff --git a/iOS/Article/WebViewController.swift b/iOS/Article/WebViewController.swift index 4031978a3..378bd70b7 100644 --- a/iOS/Article/WebViewController.swift +++ b/iOS/Article/WebViewController.swift @@ -48,12 +48,12 @@ class WebViewController: UIViewController { var articleExtractorButtonState: ArticleExtractorButtonState = .off { didSet { - delegate.webViewController(self, articleExtractorButtonStateDidUpdate: articleExtractorButtonState) + delegate?.webViewController(self, articleExtractorButtonStateDidUpdate: articleExtractorButtonState) } } weak var coordinator: SceneCoordinator! - weak var delegate: WebViewControllerDelegate! + weak var delegate: WebViewControllerDelegate? var article: Article? { didSet {