     
     // MARK: - ReadingListHintViewControllerDelegate
     
-    func viewControllerWillBeDismissed() {
-        setHintHidden(true)
-    }
-    
-    func addedArticleToReadingList() {
-        setHintHidden(false)
+    func readingListHint(_ readingListHint: ReadingListHintViewController, shouldBeHidden: Bool) {
+        setHintHidden(shouldBeHidden)
     }
 }
 

}

protocol ReadingListHintViewControllerDelegate: NSObjectProtocol {
    func viewControllerWillBeDismissed()
    func addedArticleToReadingList()
}

@objc(WMFReadingListHintController)

        button.setImage(nil, for: .normal)
        button.removeTarget(self, action: #selector(addArticleToReadingList), for: .touchUpInside)
        button.addTarget(self, action: #selector(openReadingList), for: .touchUpInside)
        delegate?.readingListHint(self, shouldBeHidden: false)
    }
}

