Removed misleading comment

This commit is contained in:
Maurice Parker
2022-11-13 09:32:20 -06:00
parent 1308394da7
commit 04dec75fca

View File

@@ -912,7 +912,6 @@ extension MainWindowController: NSToolbarDelegate {
case .share:
let title = NSLocalizedString("Share", comment: "Share")
let image = AppAssets.shareImage
// Should use NSSharingServicePickerToolbarItem here, but it has unexpected behavior on label-only mode.
if #available(macOS 13.0, *) {
// `item.view` is required for properly positioning the sharing picker.
return buildToolbarButton(.share, title, image, "toolbarShowShareMenu:", usesCustomButtonView: true)