diff --git a/Gemini.xcodeproj/project.pbxproj b/Gemini.xcodeproj/project.pbxproj index e7fadb2..817ae0e 100644 --- a/Gemini.xcodeproj/project.pbxproj +++ b/Gemini.xcodeproj/project.pbxproj @@ -933,7 +933,7 @@ "$(inherited)", "@executable_path/../Frameworks", ); - MACOSX_DEPLOYMENT_TARGET = 10.16; + MACOSX_DEPLOYMENT_TARGET = 10.15; PRODUCT_BUNDLE_IDENTIFIER = net.shadowfacts.Gemini; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 5.0; @@ -958,7 +958,7 @@ "$(inherited)", "@executable_path/../Frameworks", ); - MACOSX_DEPLOYMENT_TARGET = 10.16; + MACOSX_DEPLOYMENT_TARGET = 10.15; PRODUCT_BUNDLE_IDENTIFIER = net.shadowfacts.Gemini; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 5.0; diff --git a/Gemini/BrowserWindowController.swift b/Gemini/BrowserWindowController.swift index 3905a89..ad971f2 100644 --- a/Gemini/BrowserWindowController.swift +++ b/Gemini/BrowserWindowController.swift @@ -99,7 +99,11 @@ extension BrowserWindowController: NSToolbarDelegate { private func createBackToolbarItem() -> NSToolbarItem { let item = NSToolbarItem(itemIdentifier: .goBack) - item.image = NSImage(systemSymbolName: "chevron.left", accessibilityDescription: "Go Back") + if #available(macOS 10.16, *) { + item.image = NSImage(systemSymbolName: "chevron.left", accessibilityDescription: "Go Back") + } else { + item.image = NSImage(named: NSImage.goBackTemplateName) + } item.label = "Go Back" item.paletteLabel = "Go Back" item.toolTip = "Go to the previous page" @@ -114,7 +118,11 @@ extension BrowserWindowController: NSToolbarDelegate { private func createForwardToolbarItem() -> NSToolbarItem { let item = NSToolbarItem(itemIdentifier: .goForward) - item.image = NSImage(systemSymbolName: "chevron.right", accessibilityDescription: "Go Forward") + if #available(macOS 10.16, *) { + item.image = NSImage(systemSymbolName: "chevron.right", accessibilityDescription: "Go Forward") + } else { + item.image = NSImage(named: NSImage.goForwardTemplateName) + } item.label = "Go Forward" item.paletteLabel = "Go Forward" item.toolTip = "Go to the next page"