Rename ArticleExtractorButton to make room for the new ArticleExtractorButton

This commit is contained in:
Maurice Parker
2020-08-10 15:47:40 -05:00
parent 73b120a91c
commit 4ce974daca
4 changed files with 14 additions and 14 deletions

View File

@@ -1019,7 +1019,7 @@ private extension MainWindowController {
return false
}
guard let toolbarItem = item as? NSToolbarItem, let toolbarButton = toolbarItem.view as? ArticleExtractorButton else {
guard let toolbarItem = item as? NSToolbarItem, let toolbarButton = toolbarItem.view as? LegacyArticleExtractorButton else {
if let menuItem = item as? NSMenuItem {
menuItem.state = isShowingExtractedArticle ? .on : .off
}