Change deployment target back to 10.15

This commit is contained in:
Shadowfacts 2020-07-15 23:12:01 -04:00
parent 6f2b98ac31
commit 70555eb317
Signed by: shadowfacts
GPG Key ID: 94A5AB95422746E5
2 changed files with 12 additions and 4 deletions

View File

@ -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;

View File

@ -99,7 +99,11 @@ extension BrowserWindowController: NSToolbarDelegate {
private func createBackToolbarItem() -> NSToolbarItem {
let item = NSToolbarItem(itemIdentifier: .goBack)
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)
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"