diff --git a/Mac/MainWindow/About/AboutWindowController.swift b/Mac/MainWindow/About/AboutWindowController.swift index 233e1743a..9fbe83ac2 100644 --- a/Mac/MainWindow/About/AboutWindowController.swift +++ b/Mac/MainWindow/About/AboutWindowController.swift @@ -86,7 +86,7 @@ class AboutHostingController: NSHostingController, NSToolbarDelegate { switch itemIdentifier { case .aboutGroup: - var toolbarItem = NSToolbarItem(itemIdentifier: .aboutGroup) + let toolbarItem = NSToolbarItem(itemIdentifier: .aboutGroup) toolbarItem.view = segmentedControl toolbarItem.autovalidates = true return toolbarItem @@ -118,7 +118,6 @@ class AboutHostingController: NSHostingController, NSToolbarDelegate { // MARK: - Target/Action @objc func segmentedControlSelectionChanged(_ sender: NSSegmentedControl) { - print(#function) if sender.selectedSegment == 0 { rootView = AnyView(AboutNetNewsWireView()) } else {