From 258c89bf12f78243b55059d6fac395d8b276eef0 Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Sun, 9 Aug 2020 11:46:53 -0500 Subject: [PATCH] Add new sidebar item menu to toolbar --- Mac/AppAssets.swift | 5 +++ Mac/Base.lproj/MainWindow.storyboard | 34 +++++++++--------- Mac/MainWindow/MainWindowController.swift | 44 ++++++++++++++++++++++- 3 files changed, 65 insertions(+), 18 deletions(-) diff --git a/Mac/AppAssets.swift b/Mac/AppAssets.swift index 6051eba83..615dbbccd 100644 --- a/Mac/AppAssets.swift +++ b/Mac/AppAssets.swift @@ -45,6 +45,11 @@ struct AppAssets { return RSImage(named: "accountNewsBlur") }() + @available(macOS 10.16, *) + static var addNewSidebarItemImage: RSImage = { + return NSImage(systemSymbolName: "plus", accessibilityDescription: nil)! + }() + static var articleExtractor: RSImage! = { return RSImage(named: "articleExtractor") }() diff --git a/Mac/Base.lproj/MainWindow.storyboard b/Mac/Base.lproj/MainWindow.storyboard index 475dda607..9ae19c53f 100644 --- a/Mac/Base.lproj/MainWindow.storyboard +++ b/Mac/Base.lproj/MainWindow.storyboard @@ -276,8 +276,8 @@