Clean up the code a little bit

This commit is contained in:
Maurice Parker
2022-09-27 18:56:14 -05:00
parent 545e810b9b
commit add33e59da

View File

@@ -310,10 +310,8 @@ class ArticleViewController: UIViewController, MainControllerIdentifiable {
}
}
let appearanceMenu = UIMenu(title: NSLocalizedString("Article Appearance", comment: "Appearance"), image: nil, identifier: nil, options: .displayInline, children: appearanceChildren)
appearanceBarButtonItem.image = AppAssets.articleAppearanceImage
appearanceBarButtonItem.menu = appearanceMenu
appearanceBarButtonItem.menu = UIMenu(title: NSLocalizedString("Article Appearance", comment: "Appearance"), children: appearanceChildren)
}
private func configureArticleExtractorMenu() {